summaryrefslogtreecommitdiff
path: root/spec/graphql/types/eventable_type_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/graphql/types/eventable_type_spec.rb')
-rw-r--r--spec/graphql/types/eventable_type_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/graphql/types/eventable_type_spec.rb b/spec/graphql/types/eventable_type_spec.rb
new file mode 100644
index 00000000000..c1c7bf6d65a
--- /dev/null
+++ b/spec/graphql/types/eventable_type_spec.rb
@@ -0,0 +1,9 @@
+# frozen_string_literal: true
+
+require 'spec_helper'
+
+RSpec.describe Types::EventableType do
+ it 'exposes events field' do
+ expect(described_class).to have_graphql_fields(:events)
+ end
+end