Permalink
Browse files

Oops that previous commit was flat out wrong...

  • Loading branch information...
1 parent 2a68db7 commit 2bb271fd543152a75e301fc8675c422f57ec0893 @elight committed Aug 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/tasks/print_features.rake
@@ -4,7 +4,7 @@ require 'coulda'
namespace :coulda do
def scenario_pending?(sexp)
- sexp.scope.nil? || sexp.scope.expressions.none? { |step| step.proc }
+ sexp.scope.nil? || sexp.scope.expressions.any? { |step| step.proc.nil? }
end
desc "Print all features as plain text"

0 comments on commit 2bb271f

Please sign in to comment.