2010-07-14 15:13:20 +02:00
|
|
|
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)
|
2010-07-14 15:13:20 +02:00
|
|
|
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)
|
2010-07-14 15:13:20 +02:00
|
|
|
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)
|
2010-07-14 15:13:20 +02:00
|
|
|
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)
|
2011-01-19 10:13:56 +01:00
|
|
|
end
|