diff options
Diffstat (limited to 'features/steps/webrat_steps.rb')
-rw-r--r-- | features/steps/webrat_steps.rb | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/features/steps/webrat_steps.rb b/features/steps/webrat_steps.rb deleted file mode 100644 index b152a1501d..0000000000 --- a/features/steps/webrat_steps.rb +++ /dev/null @@ -1,39 +0,0 @@ -# Commonly used webrat steps -# http://github.com/brynary/webrat - -When /^I go to \/(.*)$/ do |path| - visit path -end - -When /^I press "(.*)"$/ do |button| - click_button(button) -end - -When /^I follow "(.*)"$/ do |link| - click_link(link) -end - -When /^I fill in "(.*)" with "(.*)"$/ do |field, value| - fill_in(field, :with => value) -end - -When /^I select "(.*)" from "(.*)"$/ do |value, field| - select(value, :from => field) -end - -When /^I check "(.*)"$/ do |field| - check(field) -end - -When /^I uncheck "(.*)"$/ do |field| - uncheck(field) -end - -When /^I choose "(.*)"$/ do |field| - choose(field) -end - -When /^I attach the file at "(.*)" to "(.*)" $/ do |path, field| - attach_file(field, path) -end - |