Sha256: 0146eb64a6ff75e12d506935ffe62c6a540d56bf6789189758a0fbf1368698dd

Contents?: true

Size: 835 Bytes

Versions: 7

Compression:

Stored size: 835 Bytes

Contents

# frozen_string_literal: true

if ENV["COVERAGE"]
  require 'simplecov'
  SimpleCov.start('rails')
end

require 'rspec/core'

require 'spree/testing_support/partial_double_verification'
require 'spree/testing_support/preferences'
require 'spree/config'
require 'with_model'

RSpec.configure do |config|
  config.disable_monkey_patching!
  config.color = true
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
  config.mock_with :rspec do |c|
    c.syntax = :expect
  end

  config.before :each do
    reset_spree_preferences
  end

  config.include Spree::TestingSupport::Preferences
  config.extend WithModel

  config.filter_run focus: true
  config.run_all_when_everything_filtered = true

  config.example_status_persistence_file_path = "./spec/examples.txt"

  config.order = :random

  Kernel.srand config.seed
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_core-2.8.6 spec/spec_helper.rb
solidus_core-2.8.5 spec/spec_helper.rb
solidus_core-2.8.4 spec/spec_helper.rb
solidus_core-2.8.3 spec/spec_helper.rb
solidus_core-2.8.2 spec/spec_helper.rb
solidus_core-2.8.1 spec/spec_helper.rb
solidus_core-2.8.0 spec/spec_helper.rb