[test] fix that all spec will be disabled if use :unless option

This commit is contained in:
Watson
2014-05-21 15:18:20 +09:00
parent 6a309ab246
commit a75ced9400

View File

@@ -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