Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/shared/profile/_commit_table.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/team_commits_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading