Sha256: 2e25713994788ac94defda9fbe77351f27c33ae97c9b96dfbe10eadd7cfb5fd2

Contents?: true

Size: 730 Bytes

Versions: 11

Compression:

Stored size: 730 Bytes

Contents

require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require "sqlite3"
require "active_record"
require "sequel"
require "graphql"
require "benchmark"
require "minitest/autorun"
require "minitest/focus"
require "minitest/reporters"
require "pry"
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new

Minitest::Spec.make_my_diffs_pretty!

# Filter out Minitest backtrace while allowing backtrace from other libraries
# to be shown.
Minitest.backtrace_filter = Minitest::BacktraceFilter.new

# # Load support files
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

def star_wars_query(string, variables={})
  GraphQL::Query.new(StarWarsSchema, string, variables: variables).result
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
graphql-0.18.15 spec/spec_helper.rb
graphql-0.18.14 spec/spec_helper.rb
graphql-0.18.13 spec/spec_helper.rb
graphql-0.18.12 spec/spec_helper.rb
graphql-0.18.11 spec/spec_helper.rb
graphql-0.18.10 spec/spec_helper.rb
graphql-0.18.9 spec/spec_helper.rb
graphql-0.18.8 spec/spec_helper.rb
graphql-0.18.7 spec/spec_helper.rb
graphql-0.18.6 spec/spec_helper.rb
graphql-0.18.5 spec/spec_helper.rb