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

Version Path
acts_as_scrubbable-0.1.4 spec/support/database.rb
acts_as_scrubbable-0.1.3 spec/support/database.rb
acts_as_scrubbable-0.1.2 spec/support/database.rb
acts_as_scrubbable-0.1.1 spec/support/database.rb
acts_as_scrubbable-0.1.0 spec/support/database.rb
acts_as_scrubbable-0.0.9 spec/support/database.rb
acts_as_scrubbable-0.0.8 spec/support/database.rb
acts_as_scrubbable-0.0.7 spec/support/database.rb
acts_as_scrubbable-0.0.6 spec/support/database.rb
acts_as_scrubbable-0.0.5 spec/support/database.rb
acts_as_scrubbable-0.0.4 spec/support/database.rb
acts_as_scrubbable-0.0.3 spec/support/database.rb
acts_as_scrubbable-0.0.2 spec/support/database.rb