Commit cabba95c authored by Robert Speicher's avatar Robert Speicher

Fix failing user lookup feature test

parent 5ac95d0f
...@@ -30,7 +30,7 @@ class Spinach::Features::ProjectCommitsUserLookup < Spinach::FeatureSteps ...@@ -30,7 +30,7 @@ class Spinach::Features::ProjectCommitsUserLookup < Spinach::FeatureSteps
def check_author_link(email, user) def check_author_link(email, user)
author_link = find('.commit-author-link') author_link = find('.commit-author-link')
expect(author_link['href']).to eq user_path(user) expect(author_link['href']).to eq user_path(user)
expect(author_link['data-original-title']).to eq email expect(author_link['title']).to eq email
expect(find('.commit-author-name').text).to eq user.name expect(find('.commit-author-name').text).to eq user.name
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