Sha256: 0c734f708b15d58264045011a0cd57fc47983ae720b2c115938c31f993540a7e

Contents?: true

Size: 761 Bytes

Versions: 1

Compression:

Stored size: 761 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'bigdecimal'
require 'combustion'
require 'pry'
require 'active_record'

::Combustion.schema_format = :ruby
::Combustion.initialize! :all

require 'rspec/rails'
require 'simplecov'
require 'pry'
require 'trax_controller'

::SimpleCov.start do
  add_filter '/spec/'
end

::RSpec.configure do |config|
  config.include RSpec::Rails::RequestExampleGroup, type: :feature

  config.before(:all) do
    ::Trax::Controller.config.authorization_adapter = ::Trax::Controller::Authorization::Pundit::Adapter
  end

  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
end

::Bundler.require(:default, :development, :test)

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trax_controller-1.0.0 spec/spec_helper.rb