Sha256: 5e680a2a54cc0a683614dcfb58d6bb15e2db474b5b44043340cfcbfa6d23e506
Contents?: true
Size: 574 Bytes
Versions: 2
Compression:
Stored size: 574 Bytes
Contents
require 'rubygems' require 'bundler/setup' ENV["RAILS_ENV"] = "test" require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'spec_helper' # if normal specs run before Rails-related specs, # the Arrthorizer::Rails component might not be initialized # Therefore, we initialize it by hand Arrthorizer::Rails.initialize! Dir.glob('./spec/support/**/*.rb') do |file| require file end Dir.glob('./spec/fixtures/**/*.rb') do |file| require file end RSpec.configure do |config| config.use_transactional_fixtures = true end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arrthorizer-0.4.2 | spec/rails_helper.rb |
arrthorizer-0.4.1 | spec/rails_helper.rb |