bin/console in doorkeeper-5.3.3 vs bin/console in doorkeeper-5.4.0.rc1

- old
+ new

@@ -10,7 +10,21 @@ # (If you use this, don't forget to add pry to your Gemfile!) # require "pry" # Pry.start +# Default Doorkeeper config +Doorkeeper.configure do + orm :active_record +end + +# Generate in-memory database for testing +ActiveRecord::Base.establish_connection( + adapter: "sqlite3", + database: ":memory:", +) + +# Load database schema +load File.expand_path("../spec/dummy/db/schema.rb", __dir__) + require "irb" IRB.start(__FILE__)