Skip to content

Commit

Permalink
Update database_cleaner to the latest version
Browse files Browse the repository at this point in the history
Was previously getting the following error:

An error occurred in a `before(:suite)` hook.
Failure/Error: DatabaseCleaner.clean_with(:truncation)

NoMethodError:
  undefined method `schema_migration' for #<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:0x0000000000dc00 env_name="test" role=:writing>
# ./spec/rails_helper.rb:64:in `block (2 levels) in <top (required)>'
  • Loading branch information
avinhurry committed Sep 2, 2024
1 parent 5e3bb48 commit df60cdf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ GEM
railties (>= 6.1)
database_cleaner (2.0.2)
database_cleaner-active_record (>= 2, < 3)
database_cleaner-active_record (2.1.0)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
Expand Down Expand Up @@ -420,7 +420,7 @@ GEM
llhttp-ffi (0.5.0)
ffi-compiler (~> 1.0)
rake (~> 13.0)
logger (1.6.0)
logger (1.6.1)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
Expand Down

0 comments on commit df60cdf

Please sign in to comment.