Sha256: 53f4018774c660741580ed8c974d66deabc4153b62085da16ff38ca7e3b04d8a

Contents?: true

Size: 885 Bytes

Versions: 1

Compression:

Stored size: 885 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'

begin
  require File.expand_path('../dummy/config/environment', __FILE__)
rescue LoadError
  fail 'Could not load dummy application. Please ensure you have run `bundle exec rake test_app`'
end

require 'rspec/rails'
require 'pry'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir[File.join(File.dirname(__FILE__), 'support/**/*.rb')].each { |file| require file }

RSpec.configure do |config|
  # == Mock Framework
  #
  # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
  #
  # config.mock_with :mocha
  # config.mock_with :flexmock
  # config.mock_with :rr
  config.mock_with :rspec

  config.fixture_path = "#{::Rails.root}/spec/fixtures"

  # because database cleaner
  config.use_transactional_fixtures = false

  config.include FeatureHelper, type: :feature
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_log_viewer-1.0.0 spec/spec_helper.rb