Sha256: 566a0b1163310fa8b0d21cfa451bdc3060e94792fa68adf011f1cfb70634aacc

Contents?: true

Size: 604 Bytes

Versions: 6

Compression:

Stored size: 604 Bytes

Contents

# Configure Rails Environment
ENV['RAILS_ENV'] = 'test'

require File.expand_path('../dummy/config/environment.rb', __FILE__)

require 'spree_dev_tools/rspec/spec_helper'

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

RSpec.configure do |config|
  config.before(:each) do
    allow(RSpec::Rails::ViewRendering::EmptyTemplateHandler)
      .to receive(:call)
      .and_return(%("")) if Rails.gem_version >= Gem::Version.new('6.0.0.beta1')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_auth_devise-4.2.1 spec/spec_helper.rb
spree_auth_devise-4.3.3 spec/spec_helper.rb
spree_auth_devise-4.3.2 spec/spec_helper.rb
spree_auth_devise-4.3.1 spec/spec_helper.rb
spree_auth_devise-4.3.0 spec/spec_helper.rb
spree_auth_devise-4.2.0 spec/spec_helper.rb