Sha256: d2044f84f2b64bc8803ec9ddb79072856ce3747407b96f5afb9fcd0f97920265
Contents?: true
Size: 754 Bytes
Versions: 3
Compression:
Stored size: 754 Bytes
Contents
require 'active_record/safe_initialize' require 'securerandom' ActiveRecord::Base.configurations = { 'test' => { 'adapter' => 'sqlite3', 'database' => ':memory:', 'verbosity' => 'quiet' } } ActiveRecord::Base.establish_connection :test ActiveRecord::Migration.verbose = false ActiveRecord::Schema.define(version: 20150830080017) do create_table "posts", force: true do |t| t.string "title" t.text "body" t.string "uuid" end end class Post < ActiveRecord::Base; 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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activerecord-safe_initialize-0.2.0 | spec/spec_helper.rb |
activerecord-safe_initialize-0.1.0 | spec/spec_helper.rb |
activerecord-safe_initialize-0.0.1 | spec/spec_helper.rb |