We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24a6f23 commit ac7c686Copy full SHA for ac7c686
spec/cancan/rule_spec.rb
@@ -61,7 +61,7 @@ def count_queries(&block)
61
end
62
63
before do
64
- ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:')
+ connect_db
65
ActiveRecord::Migration.verbose = false
66
ActiveRecord::Schema.define do
67
create_table(:watermelons) do |t|
0 commit comments