Sha256: 1dc773b2f70cf547fd118cb15cff45788ad50edcb1fefb565702aad6d6d985d4

Contents?: true

Size: 680 Bytes

Versions: 6

Compression:

Stored size: 680 Bytes

Contents

# frozen_string_literal: true

if ENV['CI'] && !ENV['SKIP_COVERALLS'] && Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.5')
  require 'simplecov'
  require 'coveralls'

  SimpleCov.formatter = Coveralls::SimpleCov::Formatter
  SimpleCov.start 'rails' do
    add_filter ['spec']
  end
end

require 'pry'
require 'bundler/setup'
require 'graphql_devise'

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = '.rspec_status'

  # Disable RSpec exposing methods globally on `Module` and `main`
  config.disable_monkey_patching!

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
graphql_devise-1.4.0 spec/spec_helper.rb
graphql_devise-1.3.0 spec/spec_helper.rb
graphql_devise-1.2.0 spec/spec_helper.rb
graphql_devise-1.1.1 spec/spec_helper.rb
graphql_devise-1.1.0 spec/spec_helper.rb
graphql_devise-1.0.1 spec/spec_helper.rb