spec/graphql/analysis/query_complexity_spec.rb in graphql-1.4.0 vs spec/graphql/analysis/query_complexity_spec.rb in graphql-1.4.1

- old
+ new

@@ -4,11 +4,11 @@ describe GraphQL::Analysis::QueryComplexity do let(:complexities) { [] } let(:query_complexity) { GraphQL::Analysis::QueryComplexity.new { |this_query, complexity| complexities << this_query << complexity } } let(:reduce_result) { GraphQL::Analysis.analyze_query(query, [query_complexity]) } let(:variables) { {} } - let(:query) { GraphQL::Query.new(DummySchema, query_string, variables: variables) } + let(:query) { GraphQL::Query.new(Dummy::Schema, query_string, variables: variables) } describe "simple queries" do let(:query_string) {%| query cheeses($isSkipped: Boolean = false){ # complexity of 3 @@ -187,10 +187,10 @@ end end end describe "relay types" do - let(:query) { GraphQL::Query.new(StarWarsSchema, query_string) } + let(:query) { GraphQL::Query.new(StarWars::Schema, query_string) } let(:query_string) {%| { rebels { ships { edges {