Sha256: 7780368dc1b6723fcb13ffad5ce905132012ade575701fa0983cb8ca3f9e4907

Contents?: true

Size: 523 Bytes

Versions: 2

Compression:

Stored size: 523 Bytes

Contents

ENV["RAILS_ENV"] = "test"

require 'bundler/setup'
require 'active_record'
require 'pry'
require 'delegate'
require 'activeadmin-poro-decorator'
require 'database_cleaner'

require File.expand_path("../support/dummy/config/environment", __FILE__)

RSpec.configure do |config|
  config.expect_with(:rspec) {|c| c.syntax = :expect}
  config.order = :random

  DatabaseCleaner.strategy = :transaction

  config.around(:each, db: true) do |example|
    DatabaseCleaner.start
    example.run
    DatabaseCleaner.clean
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin-poro-decorator-0.2.0 spec/spec_helper.rb
activeadmin-poro-decorator-0.1.0 spec/spec_helper.rb