diff --git a/test/helpers/bacon.rb b/test/helpers/bacon.rb index 3ff49bde..9dd2e556 100644 --- a/test/helpers/bacon.rb +++ b/test/helpers/bacon.rb @@ -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