Sha256: 4ab56007a00adfcc9894ca02efc8074c9b08be037d68b7072895b4dea45585d3
Contents?: true
Size: 705 Bytes
Versions: 4
Compression:
Stored size: 705 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'spork' require 'rails' if RUBY_PLATFORM.downcase.include?("darwin") require 'growl' end Spork.prefork do ENV['RAILS_VERSION'] ||= Rails.version ENV['RAILS_ENV'] ||= 'test' require File.expand_path( "../mock/rails_#{ENV['RAILS_VERSION']}/config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' RSpec.configure do | config | config.include ActiveSupport::Testing::Assertions end end Spork.each_run do if Spork.using_spork? Rails.application.reload_routes! ActiveSupport::DescendantsTracker.clear ActiveSupport::Dependencies.clear ActiveRecord::Base.instantiate_observers end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mount_doc-1.0.0 | spec/spec_helper.rb |
mount_doc-0.0.3 | spec/spec_helper.rb |
mount_doc-0.0.2 | spec/spec_helper.rb |
mount_doc-0.0.1 | spec/spec_helper.rb |