From 4f6a48daa11e107d18811f122960f7c20057c43e Mon Sep 17 00:00:00 2001 From: Eric Date: Sun, 1 Sep 2024 13:57:00 +0200 Subject: [PATCH] Fix rubocop --- spec/grape/endpoint_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/grape/endpoint_spec.rb b/spec/grape/endpoint_spec.rb index 009c67ae7c..dd25b814b0 100644 --- a/spec/grape/endpoint_spec.rb +++ b/spec/grape/endpoint_spec.rb @@ -1089,7 +1089,7 @@ def memoized end end - context '#inspect' do + describe '#inspect' do subject { described_class.new(settings, options).inspect } let(:options) do @@ -1105,7 +1105,7 @@ def memoized let(:settings) { Grape::Util::InheritableSetting.new } it 'does not raise an error' do - expect { subject }.to_not raise_error + expect { subject }.not_to raise_error end end end