Sha256: 8a5cb44c9e1c33b71a8205ab86f8b0169050fa72ae7f283447d0be1a11827ac5
Contents?: true
Size: 1.2 KB
Versions: 4
Compression:
Stored size: 1.2 KB
Contents
# if ENV["CODECLIMATE_REPO_TOKEN"] # require "codeclimate-test-reporter" # CodeClimate::TestReporter.start # end ENV["RAILS_ENV"] ||= "test" require File.expand_path("../dummy/config/environment", __FILE__) require "rspec/rails" # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } # Checks for pending migrations before tests are run. # If you are not using ActiveRecord, you can remove this line. ActiveRecord::Migration.maintain_test_schema! RSpec.configure do |config| # 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" # TEMP to avoid deprecation warning for stub_chain. See: [d38de8c] config.mock_with :rspec do |mocks| mocks.syntax = :should end end
Version data entries
4 entries across 4 versions & 1 rubygems