diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-18 19:47:58 -0800 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-01-18 19:47:58 -0800 |
commit | 31cddc152c96e60a5be366f0ebc944463109e7be (patch) | |
tree | a8d1976e4cb994b6b9d56f88a0d898c9654c0289 /spec/features | |
parent | fd41e39906544e3e587ccd38491f4fa6cd445a99 (diff) | |
download | gitlab-ce-31cddc152c96e60a5be366f0ebc944463109e7be.tar.gz |
Fix tests for edited_ago helpers
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/notes_on_merge_requests_spec.rb | 4 |
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 |