Skip to content

Commit 70569d0

Browse files
dblockCopilot
andcommitted
Rubocop -a
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b5b55bd commit 70569d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/integration/add_to_slack_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
allow_any_instance_of(::Slack::Web::Client).to receive(:oauth_v2_access).with(hash_including(code: 'code')).and_return(oauth_access)
2222
expect do
2323
visit '/?code=code'
24-
expect(page.find_by_id('messages')).to have_content 'Team successfully registered!'
24+
expect(page.find_by_id('messages')).to have_text 'Team successfully registered!'
2525
end.to change(Team, :count).by(1)
2626
end
2727
end

0 commit comments

Comments
 (0)