tracks/features/step_definitions/shared_new_todo_steps.rb
2012-03-19 14:06:34 +01:00

15 lines
No EOL
488 B
Ruby

Then /^the single action form should be visible$/ do
page.should have_css("#todo_new_action", :visible => true)
end
Then /^the single action form should not be visible$/ do
page.should_not have_css("#todo_new_action", :visible=>true)
end
Then /^the multiple action form should be visible$/ do
page.should have_css("#todo_multi_add", :visible => true)
end
Then /^the multiple action form should not be visible$/ do
page.should_not have_css("#todo_multi_add", :visible=>true)
end