Syntax rule running priorities

This commit is contained in:
Vitalii Elenhaupt 2018-01-25 11:50:11 +02:00 committed by V. Elenhaupt
parent c9db63bf34
commit 4c85ad7c75
8 changed files with 64 additions and 12 deletions

View file

@ -9,7 +9,6 @@ module Ameba::Rule
def hello
puts "totally valid"
rescue e: Exception
#
end
)
subject.catch(s).should be_valid
@ -20,7 +19,6 @@ module Ameba::Rule
def hello
puts "invalid"
rescue Exception => e
#
end
)
subject.catch(s).should_not be_valid