diff --git a/spec/helpers/tab_nav_helper_spec.rb b/spec/helpers/tab_nav_helper_spec.rb index 4930d33b5..b59bb5d05 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 = "#{user.name}\nUser #{user.email}" expect(user_cell(user)).to match(expected_html) end end