tracks/features/step_definitions/shared_new_todo_steps.rb

15 lines
488 B
Ruby
Raw Normal View History

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