diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2019-01-04 16:59:03 +0100 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2019-01-04 16:59:03 +0100 |
commit | c4e491909b4fbf6282ab818cff19e9a928561d3d (patch) | |
tree | def8837ae325a795d9b6fdc88eeab28efe5c237c /spec/helpers | |
parent | 89e0deb5b85ead3907139b7978a3d443f2f70d8a (diff) | |
download | gitlab-ce-c4e491909b4fbf6282ab818cff19e9a928561d3d.tar.gz |
Added Class check to commits helper Spec
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/commits_helper_spec.rb | 2 |
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 <script>') expect(helper.commit_author_link(commit, avatar: true)) - .to include('commit-author-name', 'Foo <script>') + .to include('commit-author-name', 'js-user-link', 'Foo <script>') end end |