diff --git a/app/views/shared/profile/_commit_table.html.slim b/app/views/shared/profile/_commit_table.html.slim index 7e8303d4..df58a271 100644 --- a/app/views/shared/profile/_commit_table.html.slim +++ b/app/views/shared/profile/_commit_table.html.slim @@ -17,7 +17,7 @@ - commit_rows.each do |row| - commit = row[:commit] tr - td.activity-types + td - if show_members - row[:member_credits].each do |credit| - member_alias = credit[:person].default_alias diff --git a/spec/requests/team_commits_spec.rb b/spec/requests/team_commits_spec.rb index f6cd8964..1465c610 100644 --- a/spec/requests/team_commits_spec.rb +++ b/spec/requests/team_commits_spec.rb @@ -113,7 +113,7 @@ def attach_verified_alias(user, email:, name: 'Member') rows = doc.css('table.commit-activity-table tbody tr') expect(rows.size).to eq(1) - credits = rows.first.css('td.activity-types .commit-member-credit') + credits = rows.first.css('td .commit-member-credit') expect(credits.size).to eq(2) # one tuple per member: separate per-attribute lists would still pass if