Fix menu link label in spec

This commit is contained in:
Brenda Wallace
2020-02-20 12:34:08 +13:00
committed by Brenda Wallace
parent 76a3dcfc93
commit 155f2ed548

View File

@@ -14,7 +14,7 @@ describe "Conversations", :js do
describe "Read conversations list" do
before do
visit root_path
click_link 'Your Stuff'
click_link recipient.login_name
click_link 'Inbox'
end
it { expect(page).to have_content 'something i want to say' }
@@ -48,7 +48,7 @@ describe "Conversations", :js do
sender.send_message(recipient, 'this is another message', 'follow up message')
visit root_path
click_link 'Your Stuff'
click_link recipient.login_name
click_link 'Inbox'
all('input[type=checkbox]').each(&:click)
@@ -63,7 +63,7 @@ describe "Conversations", :js do
sender.send_message(recipient, 'this is another message', 'follow up message')
visit root_path
click_link 'Your Stuff'
click_link recipient.login_name
click_link 'Inbox'
expect(page).to have_selector('.sent')