Skip to content

Commit

Permalink
Fix: rule_spec should honor DB setting (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
tardate committed May 23, 2024
1 parent 24a6f23 commit ac7c686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/cancan/rule_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def count_queries(&block)
end

before do
ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
connect_db
ActiveRecord::Migration.verbose = false
ActiveRecord::Schema.define do
create_table(:watermelons) do |t|
Expand Down

0 comments on commit ac7c686

Please sign in to comment.