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