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