Sha256: 94a134767a909df860e4fbf204ea2ab213a30830d38ce1ec3671a3510b5ffcbd

Contents?: true

Size: 660 Bytes

Versions: 27

Compression:

Stored size: 660 Bytes

Contents

require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
require "sqlite3"
require "active_record"
require "graphql/relay"
require "minitest/autorun"
require "minitest/focus"
require "minitest/reporters"
require 'pry'
Minitest::Reporters.use! Minitest::Reporters::SpecReporter.new
# 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 query(string, variables={})
  GraphQL::Query.new(StarWarsSchema, string, variables: variables, debug: true).result
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
graphql-relay-0.10.0 spec/spec_helper.rb
graphql-relay-0.9.5 spec/spec_helper.rb
graphql-relay-0.9.4 spec/spec_helper.rb
graphql-relay-0.9.2 spec/spec_helper.rb
graphql-relay-0.9.1 spec/spec_helper.rb
graphql-relay-0.9.0 spec/spec_helper.rb
graphql-relay-0.8.1 spec/spec_helper.rb
graphql-relay-0.8.0 spec/spec_helper.rb
graphql-relay-0.7.1 spec/spec_helper.rb
graphql-relay-0.7.0 spec/spec_helper.rb
graphql-relay-0.6.2 spec/spec_helper.rb
graphql-relay-0.6.1 spec/spec_helper.rb
graphql-relay-0.6.0 spec/spec_helper.rb
graphql-relay-0.5.1 spec/spec_helper.rb
graphql-relay-0.5.0 spec/spec_helper.rb
graphql-relay-0.4.5 spec/spec_helper.rb
graphql-relay-0.4.4 spec/spec_helper.rb
graphql-relay-0.4.3 spec/spec_helper.rb
graphql-relay-0.4.2 spec/spec_helper.rb
graphql-relay-0.4.1 spec/spec_helper.rb