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

# Load the dummy app:
require File.expand_path('../dummy/config/environment.rb',  __FILE__)

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