summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-07 16:50:20 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-12-07 16:50:20 -0500
commita1d3b8d7fa61f757978e237dd95de8eeb186212c (patch)
tree2d89d678bcf4af594379ceb0b289218597234afe
parent9d03bc6fa31f123e070bab4a58b67dbb008e75e9 (diff)
downloadgitlab-ce-a1d3b8d7fa61f757978e237dd95de8eeb186212c.tar.gz
Fix spec failure introduced by 9d03bc6fa31f123e070bab4a58b67dbb008e75e9
-rw-r--r--spec/helpers/application_helper_spec.rb2
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