Skip to content

Commit 1e172ed

Browse files
committed
Fix: flaky test, wait for server-side call to complete.
1 parent 7466a76 commit 1e172ed

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

spec/integration/teams_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
it 'includes optional parameter' do
6161
expect(SlackRubyBotServer::Service.instance).to receive(:create!).with(instance_of(Team), { state: 'property' })
6262
visit '/?v2&code=code&state=property'
63+
expect(page.find('#messages')).to have_content 'Team successfully registered!'
6364
end
6465
end
6566
context 'homepage' do

0 commit comments

Comments
 (0)