spec/code/parser/rescue_spec.rb in template-ruby-parser-0.1.2 vs spec/code/parser/rescue_spec.rb in template-ruby-parser-0.1.3
- old
+ new
@@ -5,10 +5,10 @@
["0/0 rescue a", "0/0 rescue 0/0 rescue 'nope'"].each do |input|
context input do
let!(:input) { input }
- it { expect { subject }.to_not raise_error }
+ it { subject }
end
end
[
"a /* cool */ rescue b",