We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a537a5f commit d2f05baCopy full SHA for d2f05ba
spec/integration/jsonapi_errorable_spec.rb
@@ -84,6 +84,11 @@ def standard_detail
84
end
85
86
context 'when the error is registered' do
87
+ it 'is registered' do
88
+ registered = controller.registered_exception?(CustomStatusError.new)
89
+ expect(registered).to eq true
90
+ end
91
+
92
context 'with custom status' do
93
before do
94
raises(CustomStatusError, 'some message')
0 commit comments