Sha256: 3efeb2c062393de84b8309ea0d6e40566524f2fd34cca684d731540089690145

Contents?: true

Size: 223 Bytes

Versions: 4

Compression:

Stored size: 223 Bytes

Contents

module RSpec
  module GraphqlMatchers
    class BaseMatcher
      private

      def types_match?(actual_type, expected_type)
        expected_type.nil? || expected_type.to_s == actual_type.to_s
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-graphql_matchers-0.7.1 lib/rspec/graphql_matchers/base_matcher.rb
rspec-graphql_matchers-0.6 lib/rspec/graphql_matchers/base_matcher.rb
rspec-graphql_matchers-0.5 lib/rspec/graphql_matchers/base_matcher.rb
rspec-graphql_matchers-0.4.0 lib/rspec/graphql_matchers/base_matcher.rb