Sha256: 4b9dcb7475c72232902226863c33d4d608f034c4d480fb616967ca0d633dcc33

Contents?: true

Size: 631 Bytes

Versions: 7

Compression:

Stored size: 631 Bytes

Contents

require 'simplecov'

ENV['RAILS_ENV'] = 'test'

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

require 'rspec/rails'

Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each do |file|
  require file
end

module Features
  # Extend this module in spec/support/features/*.rb
end

RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.include Features, type: :feature
  config.infer_base_class_for_anonymous_controllers = false
  config.order = 'random'
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.use_transactional_fixtures = false
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
stationed-0.6.0 lib/stationed/generators/templates/spec_helper.rb
stationed-0.5.0 lib/stationed/generators/templates/spec_helper.rb
stationed-0.4.0 lib/stationed/generators/templates/spec_helper.rb
stationed-0.3.0 lib/stationed/generators/templates/spec_helper.rb
stationed-0.2.0 lib/stationed/generators/templates/spec_helper.rb
stationed-0.1.0 lib/stationed/generators/templates/spec_helper.rb
stationed-0.0.1 lib/stationed/generators/templates/spec_helper.rb