Sha256: 33f85022f56541f0be403ba0d4baa79f5276ce6c715c50e7ffa299e22fb8a9ab
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
ENV["RAILS_ENV"] = 'test' ENV["RAILS_ROOT"] = File.expand_path("../dummy", __FILE__) require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'shoulda/matchers' require 'timecop' require 'factory_girl' require 'bourne' ActiveRecord::Migrator.migrate File.expand_path("../dummy/db/migrate", __FILE__) Dir["spec/{support,step_definitions}/**/*.rb"].each { |f| require File.expand_path(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 :mocha # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures config.fixture_path = "#{::Rails.root}/spec/fixtures" # 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 config.backtrace_clean_patterns << %r{gems/} config.include AuthenticationHelpers end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
saucy-0.16.1 | spec/spec_helper.rb |
saucy-0.16.0 | spec/spec_helper.rb |