Skip to content

Commit

Permalink
Test helper: Use new Mocha setup method
Browse files Browse the repository at this point in the history
  - this avoids this warning: Require 'mocha/test_unit', 'mocha/minitest' or 'mocha/api' instead of 'mocha/setup'
  • Loading branch information
olleolleolle committed Mar 17, 2020
1 parent 187ee76 commit 374a7f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
require "jbuilder"

require "active_support/testing/autorun"
require "mocha/setup"
require "mocha/minitest"

ActiveSupport.test_order = :random

Expand Down

0 comments on commit 374a7f3

Please sign in to comment.