Sha256: 761b1808543c191e9397635f22b4f66a7036c406e14a9a385b12d3f2de6a73b7
Contents?: true
Size: 445 Bytes
Versions: 13
Compression:
Stored size: 445 Bytes
Contents
require 'nulldb/rails' require 'nulldb_rspec' ActiveRecord::Base.configurations = {"test" => {adapter: :nulldb}} NullDB.configure do |c| c.project_root = './spec' end RSpec.configure do |config| config.include include NullDB::RSpec::NullifiedDatabase end class NonScrubbableModel < ActiveRecord::Base; end class ScrubbableModel < ActiveRecord::Base acts_as_scrubbable :first_name, :address1 => :street_address, :lat => :latitude end
Version data entries
13 entries across 13 versions & 1 rubygems