We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5b55bd commit 70569d0Copy full SHA for 70569d0
1 file changed
spec/integration/add_to_slack_spec.rb
@@ -21,7 +21,7 @@
21
allow_any_instance_of(::Slack::Web::Client).to receive(:oauth_v2_access).with(hash_including(code: 'code')).and_return(oauth_access)
22
expect do
23
visit '/?code=code'
24
- expect(page.find_by_id('messages')).to have_content 'Team successfully registered!'
+ expect(page.find_by_id('messages')).to have_text 'Team successfully registered!'
25
end.to change(Team, :count).by(1)
26
end
27
0 commit comments