Sha256: 14297d06dd689870a7962eb939a545096919d256da9385e2cdca645c9eb01b86

Contents?: true

Size: 977 Bytes

Versions: 5

Compression:

Stored size: 977 Bytes

Contents

# This file is copied to ~/spec when you run 'ruby script/generate rspec'
# from the project root directory.
ENV["RAILS_ENV"] ||= 'test'

begin
  require File.expand_path("../dummy/config/environment", __FILE__)
rescue LoadError
  $stderr.puts "Could not load dummy application. Please ensure you have run `bundle exec rake test_app`"
  exit 1
end

require 'rspec/rails'
require 'ffaker'
require 'spree_sample'

RSpec.configure do |config|
  config.color = true
  config.infer_spec_type_from_file_location!
  config.mock_with :rspec

  # If you're not using ActiveRecord, or you'd prefer not to run each of your
  # examples within a transaction, comment the following line or assign false
  # instead of true.
  config.use_transactional_fixtures = true

  config.include FactoryGirl::Syntax::Methods
  config.fail_fast = ENV['FAIL_FAST'] || false

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

  config.order = :random

  Kernel.srand config.seed
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
solidus_sample-1.0.7 spec/spec_helper.rb
solidus_sample-1.0.6 spec/spec_helper.rb
solidus_sample-1.0.5 spec/spec_helper.rb
solidus_sample-1.0.4 spec/spec_helper.rb
solidus_sample-1.0.3 spec/spec_helper.rb