Created
November 27, 2008 03:59
-
-
Save qrush/29678 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given /I am on the edit make page for "(\w+)"/ do |name| | |
@id = Make.find_by_name(name).id | |
visits edit_make_url(@id) | |
end | |
When /its name should be updated to "(\w+)"/ do |name| | |
Make.find(@id).name.should == name | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment