summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-02-13 14:14:27 +0100
committerDouwe Maan <douwe@gitlab.com>2015-02-17 17:58:08 +0100
commit080449f8af56e1aa0d80c921d0bc6ea4a61f1c38 (patch)
tree5dca4caab2ce265abd6062d97e6b269a3523290c /spec
parent529188e4788991961796b1b6131389072ee61efb (diff)
downloadgitlab-ce-080449f8af56e1aa0d80c921d0bc6ea4a61f1c38.tar.gz
Make sure Markdown previews always use the same styling as the eventual destination.
Diffstat (limited to 'spec')
-rw-r--r--spec/features/notes_on_merge_requests_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/notes_on_merge_requests_spec.rb b/spec/features/notes_on_merge_requests_spec.rb
index 7790d0ecd73..76d1a72bdb6 100644
--- a/spec/features/notes_on_merge_requests_spec.rb
+++ b/spec/features/notes_on_merge_requests_spec.rb
@@ -81,7 +81,7 @@ describe 'Comments' do
within("#note_#{note.id}") do
expect(find('.current-note-edit-form', visible: true)).to be_visible
expect(find('.note-edit-form', visible: true)).to be_visible
- expect(find(:css, '.note-text', visible: false)).not_to be_visible
+ expect(find(:css, '.note-body > .note-text', visible: false)).not_to be_visible
end
end