summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/features/notes_on_merge_requests_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/notes_on_merge_requests_spec.rb b/spec/features/notes_on_merge_requests_spec.rb
index 895a11270bc..f66f5e7cb19 100644
--- a/spec/features/notes_on_merge_requests_spec.rb
+++ b/spec/features/notes_on_merge_requests_spec.rb
@@ -94,8 +94,8 @@ describe 'Comments' do
end
within("#note_#{note.id}") do
- should have_css(".note-last-update small")
- find(".note-last-update small").text.should match(/Edited less than a minute ago/)
+ should have_css(".note_edited_ago")
+ find(".note_edited_ago").text.should match(/less than a minute ago/)
end
end
end