summaryrefslogtreecommitdiff
path: root/spec/spec_helper.rb
blob: f30af7b69bf6fa8a05a90b51d74d4e1d8b958829 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require "bundler/setup"
require "super_good/solidus_taxjar"

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.disable_monkey_patching!
  config.filter_run :focus
  config.run_all_when_everything_filtered = true
  config.default_formatter = 'doc' if config.files_to_run.one?

  config.order = "random"
  Kernel.srand config.seed
end