summaryrefslogtreecommitdiff
path: root/spec/helpers/application_helper_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-08 12:50:25 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-08 12:50:25 +0100
commit3c80a543153f8f686ec99d2d04b181b2d2c8a665 (patch)
tree679ca3921b00bd9e0904b4ad1be4e01d0a753ee9 /spec/helpers/application_helper_spec.rb
parent1a942111653e9376d6275c5bd31f23cb27f58ab5 (diff)
parentf5430e48b42227f1c1874ca27c6907f0f704be28 (diff)
downloadgitlab-ce-ui/misc.tar.gz
Merge branch 'master' into ui/miscui/misc
Diffstat (limited to 'spec/helpers/application_helper_spec.rb')
-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