Displaying 1 result from an estimated 1 matches for "create_user_with_nam".
Did you mean:
create_user_with_name
2008 May 14
4
Reuse steps like a method call
If I have a step matcher defined as so:
Given "a user named $username" do |username|
....
end
Is there a way to call it from another step? For example:
Given "a user named $username with a blog post |username|
given_a_user_named(username) # calls existing step code
# create a blog post
end
Cheers,
--
Bryan Helmkamp
http://brynary.com -- My blog