diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-13 16:14:27 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-17 19:58:08 +0300 |
commit | 080449f8af56e1aa0d80c921d0bc6ea4a61f1c38 (patch) | |
tree | 5dca4caab2ce265abd6062d97e6b269a3523290c /features/steps/shared | |
parent | 529188e4788991961796b1b6131389072ee61efb (diff) |
Make sure Markdown previews always use the same styling as the eventual destination.
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/note.rb | 2 |
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 |