Sha256: 8a09e32dd1364888ea7fb02678768cebb93d29a7807588bef3d8c0ee787ffd5d

Contents?: true

Size: 1002 Bytes

Versions: 2

Compression:

Stored size: 1002 Bytes

Contents

# Configure Rails Environment
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 ruby files with custom matchers and macros, etc,
# in spec/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

  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
  config.fixture_path = "#{::Rails.root}/spec/fixtures"

  # because database cleaner
  config.use_transactional_fixtures = false

  config.include FeatureHelper, type: :feature
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
solidus_comments-1.0.1 spec/spec_helper.rb
solidus_comments-1.0.0 spec/spec_helper.rb