Sha256: 425a1662aaa176230198a2fd1455f7a0060fe8448b7b1f0b2e31d6b8f255096e
Contents?: true
Size: 628 Bytes
Versions: 2
Compression:
Stored size: 628 Bytes
Contents
# This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' if RUBY_ENGINE == 'rbx' require "codeclimate-test-reporter" CodeClimate::TestReporter.start end require Pathname(__FILE__).dirname.join("dummy/config/environment") require 'rspec/rails' require 'database_cleaner' require 'capybara/rails' Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f } ActiveRecord::Migration.check_pending! if defined?(ActiveRecord::Migration) RSpec.configure do |config| config.order = "random" config.before(:all) do DatabaseCleaner.clean_with(:truncation) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rom-rails-0.1.0 | spec/spec_helper.rb |
rom-rails-0.0.2 | spec/spec_helper.rb |