Commit c4e49190 authored by Tim Zallmann's avatar Tim Zallmann

Added Class check to commits helper Spec

parent 89e0deb5
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment