Skip to content

Commit 793966a

Browse files
committed
Skip tests on old rails versions
1 parent 1d84532 commit 793966a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/graphql/subscriptions/action_cable_subscriptions_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22
require "spec_helper"
33

4-
if testing_rails?
4+
if testing_rails? && defined?(ActionCable) # not all rails versions have ActionCable
55
describe GraphQL::Subscriptions::ActionCableSubscriptions do
66
class ActionCableSchema < GraphQL::Schema
77
class Tick < GraphQL::Schema::Subscription

0 commit comments

Comments
 (0)