File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 6
6
7
7
#### Fixes
8
8
9
+ * [ #2193 ] ( https://github.com/ruby-grape/grape/pull/2193 ) : Fixed the broken ruby-head NoMethodError spec - [ @Jack12816 ] ( https://github.com/Jack12816 ) .
9
10
* Your contribution here.
10
11
11
12
### 1.6.0 (2021/10/04)
Original file line number Diff line number Diff line change @@ -2272,7 +2272,7 @@ def rescue_no_method_error
2272
2272
subject . rescue_from :all , with : :not_exist_method
2273
2273
subject . get ( '/rescue_method' ) { raise StandardError }
2274
2274
2275
- expect { get '/rescue_method' } . to raise_error ( NoMethodError , ' undefined method `not_exist_method\'' )
2275
+ expect { get '/rescue_method' } . to raise_error ( NoMethodError , /^ undefined method `not_exist_method'/ )
2276
2276
end
2277
2277
2278
2278
it 'correctly chooses exception handler if :all handler is specified' do
You can’t perform that action at this time.
0 commit comments