Sha256: fdfd82b06c6fb5d08681a6e8cddfd1bbcc6359a423daaacb0985f22aa6bc3d37
Contents?: true
Size: 1.8 KB
Versions: 3
Compression:
Stored size: 1.8 KB
Contents
require 'simplecov' require 'coveralls' formatters = [ Coveralls::SimpleCov::Formatter, SimpleCov::Formatter::HTMLFormatter ] begin require 'cadre/simplecov' formatters << Cadre::SimpleCov::VimFormatter rescue LoadError # Cadre not found, skipping end SimpleCov.start 'rails' do formatter SimpleCov::Formatter::MultiFormatter[*formatters] end # Coveralls.wear!('rails') ENV['RAILS_ENV'] ||= 'test' require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'factory_girl_rails' Rails.backtrace_cleaner.remove_silencers! # 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 # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures config.fixture_path = "#{::OpenConferenceWare::Engine.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 # If true, the base class of anonymous controllers will be inferred # automatically. This will be the default behavior in future versions of # rspec-rails. config.infer_base_class_for_anonymous_controllers = false # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing # the seed, which is printed after each run. # --seed 1234 config.order = "random" end require File.dirname(__FILE__) + "/spec_helper_customizations"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
open_conference_ware-1.0.0.pre4 | spec/spec_helper.rb |
open_conference_ware-1.0.0.pre3 | spec/spec_helper.rb |
open_conference_ware-1.0.0.pre2 | spec/spec_helper.rb |