mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 22:42:55 +08:00
[test] fix that all spec will be disabled if use :unless option
This commit is contained in:
@@ -52,7 +52,7 @@ module Bacon
|
||||
options = args.pop
|
||||
if options.has_key?(:if) && !options[:if]
|
||||
return xit(*args, &block)
|
||||
else options.has_key?(:unless) && options[:unless]
|
||||
elsif options.has_key?(:unless) && options[:unless]
|
||||
return xit(*args, &block)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user