From 31cddc152c96e60a5be366f0ebc944463109e7be Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 18 Jan 2015 19:47:58 -0800 Subject: Fix tests for edited_ago helpers --- spec/features/notes_on_merge_requests_spec.rb | 4 ++-- 1 file 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 -- cgit v1.2.1