|
|
|
|
|
by bryanlarsen
5681 days ago
|
|
Have you actually used Webrat? It reads English with extra punctuation. Here's an example from a test I happen to have open at this exact moment: visit "/special_recipes/new"
fill_in "special_recipe[name]", :with => "Pie"
select "Test User", :from => "special_recipe[user_id]"
click_button "Create Special Recipe"
The mind naturally skips the punctuation. It actually reads easier than some Cucumber tests I've seen. |
|