2010-07-14 15:13:20 +02:00
|
|
|
Then /^the single action form should be visible$/ do
|
2012-03-12 21:50:53 +01:00
|
|
|
page.should 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
|
2012-03-12 21:50:53 +01:00
|
|
|
page.should_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
|
2012-03-12 21:50:53 +01:00
|
|
|
page.should 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
|
2012-03-12 21:50:53 +01:00
|
|
|
page.should_not have_css("#todo_multi_add", :visible=>true)
|
2011-01-19 10:13:56 +01:00
|
|
|
end
|