Skip to content

Commit

Permalink
Add note to README re Rails tests using MiniTest by default
Browse files Browse the repository at this point in the history
  • Loading branch information
floehopper committed Jan 20, 2020
1 parent b65b070 commit 5c4d12b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ If you're loading Mocha using Bundler within a Rails application, you should set

##### MiniTest

Note that since Rails v4 (at least), `ActiveSupport::TestCase` has inherited from `Minitest::Test` or its earlier equivalents. Thus unless you are *explicitly* using Test::Unit, you are likely to be using MiniTest.

```ruby
# Gemfile in Rails app
gem 'mocha'
Expand Down

0 comments on commit 5c4d12b

Please sign in to comment.