Sha256: a81bdbea938cc54e2d09db22d1405b58889ed987ca1750db109d02c3ad5b8f96

Contents?: true

Size: 370 Bytes

Versions: 25

Compression:

Stored size: 370 Bytes

Contents

require 'rspec'

ENV['RUBYPITAYA_ENV'] = 'test'

require 'rubypitaya/core/helpers/setup_helper'
require 'rubypitaya/core/spec-helpers/handler_spec_helper'

RSpec.configure do |config|
  config.include RubyPitaya::HandlerSpecHelper

  config.before(:each) do
    ActiveRecord::Base.descendants.each { |c| c.delete_all unless c == ActiveRecord::SchemaMigration }
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rubypitaya-2.26.3 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.26.2 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.26.1 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.26.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.25.1 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.25.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.24.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.23.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.22.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.21.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.20.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.19.1 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.19.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.18.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.17.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.16.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.15.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.14.1 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.14.0 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb
rubypitaya-2.13.1 ./lib/rubypitaya/core/spec-helpers/rubypitaya_spec_helper.rb