Skip to content

Commit

Permalink
Just a lil stylin'
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspth committed Jun 30, 2024
1 parent 7b17f3e commit 5b3d7e8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/oaken/rspec_setup.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
RSpec.configure do |config|
config.include(Oaken::Seeds)

config.include Oaken::Seeds
config.use_transactional_fixtures = true

config.before(:suite) do
config.before :suite do
# Mimic fixtures by truncating before inserting.
ActiveRecord::Tasks::DatabaseTasks.truncate_all
Oaken.load_seed
Expand Down

0 comments on commit 5b3d7e8

Please sign in to comment.