diff --git a/spec/helpers/notifications_helper_spec.rb b/spec/helpers/notifications_helper_spec.rb index ca0fea7db..a5eef8fd5 100644 --- a/spec/helpers/notifications_helper_spec.rb +++ b/spec/helpers/notifications_helper_spec.rb @@ -58,7 +58,7 @@ uid: 'uid', user_id: 1 } - expect(new_ally_request_link(uniqueid, data)).to eq('
<a href="/profile?uid=uid">Julia Nguyen</a> sent an ally request!
Accept | Reject
') + expect(new_ally_request_link(uniqueid, data)).to eq('
Julia Nguyen sent an ally request!
Accept | Reject
') end it 'sanitizes and returns the correct link' do @@ -68,7 +68,7 @@ uid: 'uid', user_id: 1 } - expect(new_ally_request_link(uniqueid, data)).to eq('
<a href="/profile?uid=uid">julia@example.com</a> sent an ally request!
Accept | Reject
') + expect(new_ally_request_link(uniqueid, data)).to eq('
julia@example.com sent an ally request!
Accept | Reject
') end end