Skip to content

Commit

Permalink
Moved form based step to the rightful place.
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jul 16, 2010
1 parent dba3f4f commit b60c75c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
3 changes: 0 additions & 3 deletions features/step_definitions/editiing_steps.rb

This file was deleted.

13 changes: 1 addition & 12 deletions features/step_definitions/general_steps.rb
Expand Up @@ -14,15 +14,4 @@
click_button 'save'
end

# @TODO Refactor to work with other form actions
When /^"([^\"]*)" the "([^\"]*)" form$/ do |form_action, item|
case form_action
when /update/
# Do nothing
when /fill in/
When %{I fill in the #{item} form"}
else
raise "Can't find form action\"#{form_action}\".\n" +
"Now, go and add a mapping in #{__FILE__}"
end
end

0 comments on commit b60c75c

Please sign in to comment.