diff --git a/app/helpers/tab_nav_helper.rb b/app/helpers/tab_nav_helper.rb index e8ac7b3d4..1411b6767 100644 --- a/app/helpers/tab_nav_helper.rb +++ b/app/helpers/tab_nav_helper.rb @@ -2,7 +2,7 @@ module TabNavHelper include GovukLinkHelper def user_cell(user) - [govuk_link_to(user.name, user), user.email].join("\n") + [govuk_link_to(user.name, user, class: "govuk-!-font-weight-bold"), user.email].join("\n") end def org_cell(user) diff --git a/spec/helpers/tab_nav_helper_spec.rb b/spec/helpers/tab_nav_helper_spec.rb index 2c8f54258..f8931de8e 100644 --- a/spec/helpers/tab_nav_helper_spec.rb +++ b/spec/helpers/tab_nav_helper_spec.rb @@ -6,7 +6,7 @@ RSpec.describe TabNavHelper do describe "#user_cell" do it "returns user link and email separated by a newline character" do - expected_html = "Danny Rojas\n#{user.email}" + expected_html = "Danny Rojas\n#{user.email}" expect(user_cell(user)).to match(expected_html) end end