Sha256: 3be0c3d8f9e2090be26132473e6b29b1d8de808743f48efc95b27198f11ba15c
Contents?: true
Size: 846 Bytes
Versions: 45
Compression:
Stored size: 846 Bytes
Contents
require 'rubygems' ENV['RAILS_ENV'] = 'test' require File.expand_path('../dummyapp/config/environment', __FILE__) require 'rspec/rails' require 'database_cleaner' require 'genspec' namespace :dummy do load 'spec/dummyapp/Rakefile' end Rake::Task['dummy:db:setup'].invoke Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.color_enabled = true config.formatter = 'documentation' config.use_transactional_fixtures = true config.order = "random" config.before(:suite) do DatabaseCleaner.strategy = :truncation end config.before(:each) do DatabaseCleaner.start DatabaseCleaner.clean end config.after(:each) do DatabaseCleaner.clean end end def reset_configuration Rollbar.reconfigure do |config| end end def local? ENV['LOCAL'] == '1' end
Version data entries
45 entries across 45 versions & 1 rubygems
Version | Path |
---|---|
rollbar-0.10.6 | spec/spec_helper.rb |
rollbar-0.10.5 | spec/spec_helper.rb |
rollbar-0.10.4 | spec/spec_helper.rb |
rollbar-0.10.3 | spec/spec_helper.rb |
rollbar-0.10.2 | spec/spec_helper.rb |