diff options
Diffstat (limited to 'spec/graphql/subscriptions/issuable_updated_spec.rb')
-rw-r--r-- | spec/graphql/subscriptions/issuable_updated_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/graphql/subscriptions/issuable_updated_spec.rb b/spec/graphql/subscriptions/issuable_updated_spec.rb index 0b8fcf67513..bc640e9e3c4 100644 --- a/spec/graphql/subscriptions/issuable_updated_spec.rb +++ b/spec/graphql/subscriptions/issuable_updated_spec.rb @@ -52,7 +52,8 @@ RSpec.describe Subscriptions::IssuableUpdated do let(:current_user) { unauthorized_user } it 'unsubscribes the user' do - expect { subject }.to throw_symbol(:graphql_subscription_unsubscribed) + # GraphQL::Execution::Execute::Skip is returned when unsubscribed + expect(subject).to be_an(GraphQL::Execution::Execute::Skip) end end end |