More fixes for test

This commit is contained in:
Dmitriy Zaporozhets 2013-01-15 14:28:04 +02:00
parent 211c06e419
commit 953db8477e
3 changed files with 12 additions and 8 deletions

View file

@ -39,8 +39,6 @@ module SharedNote
end
end
Then 'I should not see a comment saying "XML attached"' do
page.should_not have_css(".note")
end
@ -113,4 +111,10 @@ module SharedNote
Then 'I should see project wall note "my special test message"' do
page.should have_content "my special test message"
end
Then 'I should see comment "XML attached"' do
within(".note") do
page.should have_content("XML attached")
end
end
end