Permalink
Browse files

Step Definitions and calling steps from step definitions can again us…

…e And and But (was removed in 0.7.0.beta.2) (Currently requires Gherkin master)
  • Loading branch information...
1 parent ed49159 commit 7e9a78f5ad7e53ef85f33a35e5a1beecde2bd4f7 @aslakhellesoy aslakhellesoy committed Apr 23, 2010
Showing with 7 additions and 2 deletions.
  1. +5 −0 History.txt
  2. +2 −2 features/call_many_steps.feature
View
@@ -1,3 +1,8 @@
+== In Git
+
+=== Changed Features
+* Step Definitions and calling steps from step definitions can again use And and But (was removed in 0.7.0.beta.2) (Aslak Hellesøy)
+
== 0.7.0.beta.2 (2010-04-21)
=== New Features
@@ -24,7 +24,7 @@ Feature: http://gist.github.com/221223
"""
And a file named "features/step_definitions/steps.rb" with:
"""
- Given /^a multiline string:$/ do |s| x=1
+ And /^a multiline string:$/ do |s| x=1
raise "I got multiline:\n#{s}"
end
@@ -34,7 +34,7 @@ Feature: http://gist.github.com/221223
Given /^I call a multiline string with (.*)$/ do |s| x=1
steps %Q{
- Given a multiline string:
+ And a multiline string:
\"\"\"
hello
#{s}

0 comments on commit 7e9a78f

Please sign in to comment.