Permalink
Browse files

Suport parsing And steps

  • Loading branch information...
1 parent 6a84c24 commit 17c2fdabb5e4a68c1ff8c7797278ef287bd65cfc Jim Radford committed with radford Aug 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 support/find_step.rb
View
@@ -53,7 +53,7 @@ def extract_steps(sexp)
end
when :iter
child_sexp = sexp[1]
- return unless child_sexp[0] == :call && [:When, :Then, :Given].include?(child_sexp[2])
+ return unless child_sexp[0] == :call && [:When, :Then, :Given, :And].include?(child_sexp[2])
regexp = child_sexp[3][1] && child_sexp[3][1][1]
@steps << Step.new(regexp, file, child_sexp.line)
else

0 comments on commit 17c2fda

Please sign in to comment.