Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-12-08 00:50:20 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-12-08 00:50:20 +0300
commita1d3b8d7fa61f757978e237dd95de8eeb186212c (patch)
tree2d89d678bcf4af594379ceb0b289218597234afe /spec/helpers
parent9d03bc6fa31f123e070bab4a58b67dbb008e75e9 (diff)
Fix spec failure introduced by 9d03bc6fa31f123e070bab4a58b67dbb008e75e9
Diffstat (limited to 'spec/helpers')
-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