Sha256: fa793f4841d78a13e6537fe9bfe167af0be772733857fda923b8601e65fb6eb4

Contents?: true

Size: 302 Bytes

Versions: 11

Compression:

Stored size: 302 Bytes

Contents

DatabaseCleaner[:mongo_mapper].strategy = :truncation
DatabaseCleaner[:mongo_mapper].clean_with :truncation

RSpec.configure do |config|
  config.before :suite do
    Doorkeeper::Application.create_indexes
    Doorkeeper::AccessGrant.create_indexes
    Doorkeeper::AccessToken.create_indexes
  end
end

Version data entries

11 entries across 11 versions & 3 rubygems

Version Path
doorkeeper-mongodb-5.0.0 spec/support/orm/mongo_mapper.rb
doorkeeper-mongodb-4.2.0 spec/support/orm/mongo_mapper.rb
doorkeeper-mongodb-4.1.0 spec/support/orm/mongo_mapper.rb
doorkeeper-mongodb-4.0.1 spec/support/orm/mongo_mapper.rb
doorkeeper-mongodb-4.0.0 spec/support/orm/mongo_mapper.rb
doorkeeper-mongodb-3.0.0 spec/support/orm/mongo_mapper.rb
dd-doorkeeper-mongodb-3.0.0 spec/support/orm/mongo_mapper.rb
doorkeeper-2.2.2 spec/support/orm/mongo_mapper.rb
doorkeeper-2.2.1 spec/support/orm/mongo_mapper.rb
doorkeeper-2.2.0 spec/support/orm/mongo_mapper.rb
doorkeeper-2.1.4 spec/support/orm/mongo_mapper.rb