summaryrefslogtreecommitdiff
path: root/features/steps/shared/note.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-19 17:53:21 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-19 17:53:21 +0200
commit0cbb235c3e74aa5dd716cdf9ab06db779f6166e8 (patch)
tree98d75975d8e1a6f5b7f6e664d5b3a312d3ef9301 /features/steps/shared/note.rb
parent4403f71f454d8341fba830db1f0aaf95ef2dc54b (diff)
downloadgitlab-ce-0cbb235c3e74aa5dd716cdf9ab06db779f6166e8.tar.gz
fix incorrectly moved spinach step
Diffstat (limited to 'features/steps/shared/note.rb')
-rw-r--r--features/steps/shared/note.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb
index 299cebe583f..e0ff52a7252 100644
--- a/features/steps/shared/note.rb
+++ b/features/steps/shared/note.rb
@@ -96,4 +96,10 @@ module SharedNote
page.should have_css(".js-note-preview-button", visible: true)
end
end
+
+ Then 'I should see comment "XML attached"' do
+ within(".note") do
+ page.should have_content("XML attached")
+ end
+ end
end