Sha256: 2caba08c93c3bbfe6c9970b60ec6d5ccb39cbeee6b8173e426acb32708c414eb
Contents?: true
Size: 1.29 KB
Versions: 2
Compression:
Stored size: 1.29 KB
Contents
require "vcr" require "simplecov" # If running tests on CircleCI, save the results to CircleCI's artifacts directory. if ENV["CIRCLE_ARTIFACTS"] dir = File.join(ENV["CIRCLE_ARTIFACTS"], "coverage") SimpleCov.coverage_dir(dir) end SimpleCov.start "rails" do add_group "Views", "app/views" end RSpec.configure do |config| config.expect_with :rspec do |expectations| # This option will default to `true` in RSpec 4. It makes the `description` # and `failure_message` of custom matchers include text for helper methods # defined using `chain`, e.g.: # be_bigger_than(2).and_smaller_than(4).description # # => "be bigger than 2 and smaller than 4" # ...rather than: # # => "be bigger than 2" expectations.include_chain_clauses_in_custom_matcher_descriptions = true end # rspec-mocks config goes here. You can use an alternate test double # library (such as bogus or mocha) by changing the `mock_with` option here. config.mock_with :rspec do |mocks| # Prevents you from mocking or stubbing a method that does not exist on # a real object. This is generally recommended, and will default to # `true` in RSpec 4. mocks.verify_partial_doubles = true end # Run specs in random order to surface order dependencies. config.order = :random end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scoby-0.0.2 | templates/spec_helper.rb |
scoby-0.0.1 | templates/spec_helper.rb |