diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-01 21:08:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-01 21:08:07 +0300 |
commit | d7ed3b4766871c30f50736c1d9eedc46c4035841 (patch) | |
tree | 72d0b5652364973c9bc3df5bf710a00fa1432b09 /spec/channels | |
parent | 711f8595324430e216ba62f874e7db9fdf482f73 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/channels')
-rw-r--r-- | spec/channels/issues_channel_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/channels/issues_channel_spec.rb b/spec/channels/issues_channel_spec.rb index 1c88cc73456..d87541cad46 100644 --- a/spec/channels/issues_channel_spec.rb +++ b/spec/channels/issues_channel_spec.rb @@ -18,7 +18,7 @@ describe IssuesChannel do end it 'rejects when the user does not have access' do - stub_connection current_user: nil + stub_action_cable_connection current_user: nil subscribe(project_path: issue.project.full_path, iid: issue.iid) @@ -26,7 +26,7 @@ describe IssuesChannel do end it 'subscribes to a stream when the user has access' do - stub_connection current_user: issue.author + stub_action_cable_connection current_user: issue.author subscribe(project_path: issue.project.full_path, iid: issue.iid) |