tracks/features/step_definitions/shared_new_todo_steps.rb

15 lines
504 B
Ruby
Raw Normal View History

Then /^the single action form should be visible$/ do
2014-05-16 15:42:03 -04:00
expect(page).to have_css("#todo_new_action", :visible => true)
end
Then /^the single action form should not be visible$/ do
2014-05-16 15:42:03 -04:00
expect(page).to_not have_css("#todo_new_action", :visible=>true)
end
Then /^the multiple action form should be visible$/ do
2014-05-16 15:42:03 -04:00
expect(page).to have_css("#todo_multi_add", :visible => true)
end
Then /^the multiple action form should not be visible$/ do
2014-05-16 15:42:03 -04:00
expect(page).to_not have_css("#todo_multi_add", :visible=>true)
end