diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-15 14:28:04 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-01-15 14:28:04 +0200 |
commit | 953db8477e301d6cbd9ddf560264da708cd92aba (patch) | |
tree | 498f1cbeaf1529a718f06b337f34e6ec29af1236 /features/steps/shared/note.rb | |
parent | 211c06e4191395d7c23a9a523ef232506d786ab6 (diff) | |
download | gitlab-ce-953db8477e301d6cbd9ddf560264da708cd92aba.tar.gz |
More fixes for test
Diffstat (limited to 'features/steps/shared/note.rb')
-rw-r--r-- | features/steps/shared/note.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index 934aba6a91a..5dcc75f9165 100644 --- a/features/steps/shared/note.rb +++ b/features/steps/shared/note.rb @@ -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 |