Sha256: f4ef55f33fad85c39184a2793fbb53cb22782288d6ea79501481fe4715a8d5e8
Contents?: true
Size: 684 Bytes
Versions: 1
Compression:
Stored size: 684 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'shoulda-matchers' Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false config.order = "random" end ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => ":memory:" ) load(File.dirname(__FILE__) + '/extra/schema.rb') load(File.dirname(__FILE__) + '/extra/model.rb')
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
acts_as_featureable-0.0.2 | spec/spec_helper.rb |