summaryrefslogtreecommitdiff
path: root/spec/helpers
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2019-01-04 16:59:03 +0100
committerTim Zallmann <tzallmann@gitlab.com>2019-01-04 16:59:03 +0100
commitc4e491909b4fbf6282ab818cff19e9a928561d3d (patch)
treedef8837ae325a795d9b6fdc88eeab28efe5c237c /spec/helpers
parent89e0deb5b85ead3907139b7978a3d443f2f70d8a (diff)
downloadgitlab-ce-c4e491909b4fbf6282ab818cff19e9a928561d3d.tar.gz
Added Class check to commits helper Spec
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/commits_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/commits_helper_spec.rb b/spec/helpers/commits_helper_spec.rb
index 9c0e55739d6..824b3ab4fc1 100644
--- a/spec/helpers/commits_helper_spec.rb
+++ b/spec/helpers/commits_helper_spec.rb
@@ -21,7 +21,7 @@ describe CommitsHelper do
expect(helper.commit_author_link(commit))
.to include('Foo &lt;script&gt;')
expect(helper.commit_author_link(commit, avatar: true))
- .to include('commit-author-name', 'Foo &lt;script&gt;')
+ .to include('commit-author-name', 'js-user-link', 'Foo &lt;script&gt;')
end
end