summaryrefslogtreecommitdiff
path: root/features/steps/shared/note.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-13 14:14:27 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-02-18 15:54:58 -0800
commit55f37e513c76a6eb8f817fa54adcd540021f2fbb (patch)
tree2cd7233fcd9529de1ff1ff81c330def86107f0b1 /features/steps/shared/note.rb
parenta46754d8906b47fdbeaf03ae4bb8819571259da5 (diff)
downloadgitlab-ce-55f37e513c76a6eb8f817fa54adcd540021f2fbb.tar.gz
Make sure Markdown previews always use the same styling as the eventual destination.
Diffstat (limited to 'features/steps/shared/note.rb')
-rw-r--r--features/steps/shared/note.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb
index 625bcc0b266..45773056953 100644
--- a/features/steps/shared/note.rb
+++ b/features/steps/shared/note.rb
@@ -116,7 +116,7 @@ module SharedNote
end
step 'The comment with the header should not have an ID' do
- within(".note-text") do
+ within(".note-body > .note-text") do
page.should have_content("Comment with a header")
page.should_not have_css("#comment-with-a-header")
end