diff options
Diffstat (limited to 'spec/graphql/resolvers/echo_resolver_spec.rb')
-rw-r--r-- | spec/graphql/resolvers/echo_resolver_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/graphql/resolvers/echo_resolver_spec.rb b/spec/graphql/resolvers/echo_resolver_spec.rb index 7d7e8cdf387..4f48e5e0d7a 100644 --- a/spec/graphql/resolvers/echo_resolver_spec.rb +++ b/spec/graphql/resolvers/echo_resolver_spec.rb @@ -9,10 +9,7 @@ RSpec.describe Resolvers::EchoResolver do let(:text) { 'Message test' } specify do - expect(described_class.field_options).to include( - type: eq(::GraphQL::STRING_TYPE), - null: be_falsey - ) + expect(described_class).to have_non_null_graphql_type(::GraphQL::STRING_TYPE) end describe '#resolve' do |