Skip to content

Commit 0d3ea14

Browse files
committed
We don't DM admins.
1 parent 28e2005 commit 0d3ea14

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

spec/api/endpoints/teams_endpoint_spec.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@
6767
}
6868
ENV['SLACK_CLIENT_ID'] = 'client_id'
6969
ENV['SLACK_CLIENT_SECRET'] = 'client_secret'
70-
allow_any_instance_of(Slack::Web::Client).to receive(:im_open).with(
71-
user: 'activated_user_id'
72-
).and_return(
73-
'channel' => {
74-
'id' => 'C1'
75-
}
76-
)
7770
allow_any_instance_of(Slack::Web::Client).to receive(:oauth_access).with(
7871
hash_including(
7972
code: 'code',

0 commit comments

Comments
 (0)