update notification view spec, not a table anymore

This commit is contained in:
Brenda Wallace
2019-07-11 12:12:05 +12:00
committed by GitHub
parent f444196b5c
commit de80a84502

View File

@@ -15,9 +15,8 @@ describe "notifications/index" do
end
it "renders a list of notifications" do
assert_select "table"
assert_select "tr>td", text: @notification.sender.to_s, count: 2
assert_select "tr>td", text: @notification.subject, count: 2
has_content @notification.sender.to_s, count: 2
has_content @notification.subject, count: 2
end
it "links to sender's profile" do