Sha256: a102b20183954f0ca7951070373c10bfafb65abae394ec30a11707db934b3bdc
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
# frozen_string_literal: true DatabaseCleaner[:mongoid].strategy = :truncation DatabaseCleaner[:mongoid].clean_with :truncation # Monkey-patch for origin Doorkeeper specs that # has `resource_owner.id + 1` :( class BSON::ObjectId def +(_other) BSON::ObjectId.new end end RSpec.configure do |config| config.before do Doorkeeper::Application.create_indexes Doorkeeper::AccessGrant.create_indexes Doorkeeper::AccessToken.create_indexes end end
Version data entries
5 entries across 5 versions & 1 rubygems