Created
July 29, 2011 23:12
-
-
Save agmcleod/1114944 to your computer and use it in GitHub Desktop.
There's got to be a better way to do this cucumber step
This file contains 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
# Document being an active record model, and the test_data method returning a string. | |
# Is there a smarter way to organize this? Should i just use a local method in this step def file? | |
When /^I copy and paste a document$/ do | |
fill_in "content", Document.test_data | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment