Sha256: 25cd72a9c541c18e36552f918460ad36d7b6350204d55df3e38e90aafca86779

Contents?: true

Size: 504 Bytes

Versions: 7

Compression:

Stored size: 504 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rspec/rails'
require 'rspec/autorun'

Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }

ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration)

RSpec.configure do |config|
  config.fixture_path = "#{::Rails.root}/spec/fixtures"

  config.use_transactional_fixtures = true

  config.infer_base_class_for_anonymous_controllers = false

  config.order = 'random'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
straptible-0.2.3 lib/straptible/rails/templates/spec/spec_helper.rb
straptible-0.2.2 lib/straptible/rails/templates/spec/spec_helper.rb
straptible-0.2.1 lib/straptible/rails/templates/spec/spec_helper.rb
straptible-0.2.0 lib/straptible/rails/templates/spec/spec_helper.rb
straptible-0.1.2 lib/straptible/rails/templates/spec/spec_helper.rb
straptible-0.1.1 lib/straptible/rails/templates/spec/spec_helper.rb
straptible-0.1.0 lib/straptible/rails/templates/spec_helper.rb