Skip to content

Commit

Permalink
DB cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-kolb committed Sep 3, 2024
1 parent 840b169 commit fda201c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/controllers/test_api.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require_relative '../test_helper'
require 'database_cleaner/mongoid'

class TestApi < Minitest::Test
include Rack::Test::Methods
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'factory_bot'
require 'require_all'
require 'database_cleaner'
require 'database_cleaner/mongoid'
require 'mongoid'
require 'minitest/autorun'
require 'rack/test'
Expand Down

0 comments on commit fda201c

Please sign in to comment.