lib/rspec/graphql_matchers/implement.rb in rspec-graphql_matchers-1.3.0 vs lib/rspec/graphql_matchers/implement.rb in rspec-graphql_matchers-1.3.1

- old
+ new

@@ -1,11 +1,13 @@ +# frozen_string_literal: true + require_relative 'base_matcher' module RSpec module GraphqlMatchers class Implement < BaseMatcher def initialize(interfaces) - @expected = interfaces.map {|interface| interface_name(interface) } + @expected = interfaces.map { |interface| interface_name(interface) } end def matches?(graph_object) @graph_object = graph_object @actual = actual