Sha256: de336b430ca57d0c7adb083c13d515b59ad47adbde65dbf845aabbc846c8a3a1
Contents?: true
Size: 792 Bytes
Versions: 9
Compression:
Stored size: 792 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rails' require 'rspec' require 'rspec-rails' require 'sections_rails' # Configure Rails Environment ENV["RAILS_ENV"] = "test" #Rails = Hashie::Mash.new({:env => 'test'}) # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| # == Mock Framework # # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line: # # config.mock_with :mocha # config.mock_with :flexmock # config.mock_with :rr config.mock_with :rspec # If you're not using ActiveRecord, or you'd prefer not to run each of your # examples within a transaction, remove the following line or assign false # instead of true. # config.use_transactional_fixtures = true end
Version data entries
9 entries across 9 versions & 1 rubygems