Sha256: a661a66c4eb07e55eb08911b255e33538695d1403a7a1394148782929bbf9958
Contents?: true
Size: 594 Bytes
Versions: 4
Compression:
Stored size: 594 Bytes
Contents
rails_env = ENV['RAILS_ENV'] ||= 'test' require File.expand_path('dummy/config/environment.rb', __dir__) Rails.configuration.database_configuration[rails_env].tap do |c| ActiveRecord::Tasks::DatabaseTasks.create(c) ActiveRecord::Base.establish_connection(c) load File.expand_path('dummy/db/schema.rb', __dir__) end RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.order = :random end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
journaled-4.1.0 | spec/spec_helper.rb |
journaled-4.0.0 | spec/spec_helper.rb |
journaled-3.1.0 | spec/spec_helper.rb |
journaled-3.0.0 | spec/spec_helper.rb |