Sha256: d8e7cd6bab260c5b15a3626628beadfd7d0edc40f5e0f490d550142f2072b3cb
Contents?: true
Size: 824 Bytes
Versions: 4
Compression:
Stored size: 824 Bytes
Contents
require 'simplecov' SimpleCov.start 'rails' ENV['RAILS_ENV'] ||= 'test' require File.expand_path('../../config/environment', __FILE__) require 'rspec/rails' require 'webmock/rspec' require 'paperclip/matchers' Dir[Rails.root.join('spec/support/**/*.rb')].each { |file| require file } ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration) RSpec.configure do |config| config.expect_with :rspec do |c| c.syntax = :expect end config.fail_fast = false config.infer_base_class_for_anonymous_controllers = false config.order = 'random' config.color = true config.use_transactional_fixtures = false config.include FactoryGirl::Syntax::Default config.include Paperclip::Shoulda::Matchers end Capybara.javascript_driver = :webkit WebMock.disable_net_connect!(allow_localhost: true)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
prop_up-0.0.4 | templates/spec_helper.rb |
prop_up-0.0.3 | templates/spec_helper.rb |
prop_up-0.0.2 | templates/spec_helper.rb |
prop_up-0.0.1 | templates/spec_helper.rb |