Sha256: 3584b40c22bdc8af059ffcfd2a7a955e38243b40fabf64957b490c9d136519e7

Contents?: true

Size: 773 Bytes

Versions: 1

Compression:

Stored size: 773 Bytes

Contents

# frozen_string_literal: true
require "bundler/setup"
require 'pry-byebug'

require "simplecov"
SimpleCov.start "rails" do
  minimum_coverage 95
  add_filter "/lib/apress/api/rspec"
  add_filter "/lib/apress/api/testing/"
  add_filter "/lib/apress/api/swagger/"
  add_filter "/app/docs"
end

require "apress/api"

require 'mock_redis'
redis = MockRedis.new
Resque.redis = redis

require "factory_girl_rails"
require "timecop"
require "combustion"

Combustion.initialize! :all do
  config.cache_store = :null_store if defined?(ActiveSupport::Cache::NullStore)
end

require "rails-controller-testing" if Rails::VERSION::MAJOR > 4
require "rspec/rails"

RSpec.configure do |config|
  config.include FactoryGirl::Syntax::Methods

  config.use_transactional_fixtures = true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apress-api-1.24.2 spec/spec_helper.rb