Sha256: 9d01a186f2d6f369f120419d4809e4e74052c3d70338e7d3126f7695cc102fd9
Contents?: true
Size: 1.45 KB
Versions: 2
Compression:
Stored size: 1.45 KB
Contents
require 'simplecov' require 'coveralls' SimpleCov.formatter = Coveralls::SimpleCov::Formatter if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/ SimpleCov.start ENV['RAILS_ENV'] ||= 'test' RAILS_MINOR_VERSION = if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/ ENV['BUNDLE_GEMFILE'].split('/').last.scan(/(\d).(\d)/).join else '32' end require File.expand_path("../dummy_#{RAILS_MINOR_VERSION}/config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each {|f| require f } RSpec.configure do |config| # 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 = false # Database Cleaner # 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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
factory_girl-remote_api-0.4.0 | spec/spec_helper.rb |
factory_girl-remote_api-0.3.0 | spec/spec_helper.rb |