Skip to content

Commit

Permalink
Moved form based step into the form steps file
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed Jul 16, 2010
1 parent 331b9f8 commit ab81ca8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions features/step_definitions/form_steps.rb
Expand Up @@ -39,6 +39,10 @@
end
end

Then /^I should not be redirected to the form$/ do
response.should_not have_selector :form
end

Then /^the ([^\"]*) information should not be saved$/ do |model|
response.should have_selector :form
end
4 changes: 0 additions & 4 deletions features/step_definitions/general_steps.rb
Expand Up @@ -2,10 +2,6 @@
flash[:notice].should contain "#{message}"
end

Then /^I should not be redirected to the form$/ do
response.should_not have_selector :form
end

When /^we click the "([^\"]*)" feature$/ do |link|
click_link "#{link}"
end
Expand Down

0 comments on commit ab81ca8

Please sign in to comment.