Sha256: 43411fdf63b2489f08edb1712854dc2df047099225bd8bcfe4205babc9135d75
Contents?: true
Size: 1.04 KB
Versions: 24
Compression:
Stored size: 1.04 KB
Contents
require 'percy/cli' require 'webmock/rspec' RSpec.configure do |config| config.expect_with :rspec do |expectations| # This option will default to `true` in RSpec 4. expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.disable_monkey_patching! # 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 # Seed global randomization in this process using the `--seed` CLI option. # Setting this allows you to use `--seed` to deterministically reproduce # test failures related to randomization by passing the same `--seed` value # as the one that triggered the failure. Kernel.srand config.seed config.before(:each) do WebMock.disable_net_connect!(allow: [ 'maxcdn.bootstrapcdn.com', 'ajax.googleapis.com', ]) end end
Version data entries
24 entries across 24 versions & 1 rubygems