Sha256: 2e4554695cd98bb385d8b61c243082ce8d88717e4fdd6a26cdca02eccd1dbf89

Contents?: true

Size: 700 Bytes

Versions: 7

Compression:

Stored size: 700 Bytes

Contents

require 'rubygems'

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

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

require 'rspec/rails'
require 'capybara/rspec'

Rails.backtrace_cleaner.remove_silencers!

RSpec.configure do |config|
  config.mock_with :rspec
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
end

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories including factories.
([Rails.root.to_s] | ::Refinery::Plugins.registered.pathnames).map{|p|
  Dir[File.join(p, 'spec', 'support', '**', '*.rb').to_s]
}.flatten.sort.each do |support_file|
  require support_file
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
refinerycms-i18n-5.0.1 spec/spec_helper.rb
refinerycms-i18n-5.0.0 spec/spec_helper.rb
refinerycms-i18n-4.0.2 spec/spec_helper.rb
refinerycms-i18n-4.0.1 spec/spec_helper.rb
refinerycms-i18n-3.0.2 spec/spec_helper.rb
refinerycms-i18n-4.0.0 spec/spec_helper.rb
refinerycms-i18n-3.0.1 spec/spec_helper.rb