diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-12-07 16:50:20 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-12-07 16:50:20 -0500 |
commit | a1d3b8d7fa61f757978e237dd95de8eeb186212c (patch) | |
tree | 2d89d678bcf4af594379ceb0b289218597234afe | |
parent | 9d03bc6fa31f123e070bab4a58b67dbb008e75e9 (diff) | |
download | gitlab-ce-a1d3b8d7fa61f757978e237dd95de8eeb186212c.tar.gz |
Fix spec failure introduced by 9d03bc6fa31f123e070bab4a58b67dbb008e75e9
-rw-r--r-- | spec/helpers/application_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index 0a64b70d6a6..5568f06639c 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -278,7 +278,7 @@ describe ApplicationHelper do el = element.next_element expect(el.name).to eq 'script' - expect(el.text).to include "$('.js-timeago').timeago()" + expect(el.text).to include "$('.js-timeago').last().timeago()" end it 'allows the script tag to be excluded' do |