Skip to content

Commit

Permalink
Prepare for 7.1.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Jul 31, 2023
1 parent eb6fda5 commit ead4316
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 7.1.0

- Use Minitest instead of MiniTest. Fixes #119. Thanks @evgeni
- Fix ActionCable::Channel::TestCase support. Fixes #118. Thanks @marcoroth
- Add support for ActionCable::Channel::TestCase. Fixes #117. Thanks @tijn

## 7.0.0

- Add support for ActionCable::Channel::TestCase. Fixed #117. Thanks @tijn
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ end

### How is this different than Minitest::Rails?

To start off both Mike Moore (@blowmage) and I have worked together and we both LOVE Minitest::Spec. Both projects aim to advocate MiniTest and make Rails integration as easy as possible. However, there are a few key differences in our projects. Some of these differences may go away in time too. As always, choose the tool you think fits your needs. So how, is minitest-spec-rails different than [minitest-rails](https://github.com/blowmage/minitest-rails)?
To start off both Mike Moore (@blowmage) and I have worked together and we both LOVE Minitest::Spec. Both projects aim to advocate Minitest and make Rails integration as easy as possible. However, there are a few key differences in our projects. Some of these differences may go away in time too. As always, choose the tool you think fits your needs. So how, is minitest-spec-rails different than [minitest-rails](https://github.com/blowmage/minitest-rails)?

* We aim to leverage existing Rails test directories and files!
* No special test helper and/or generators.
Expand Down Expand Up @@ -229,14 +229,14 @@ end

### Assertion Methods

If you are upgrading from Test::Unit, there are a few missing assertions that have been renamed or are no longer available within MiniTest.
If you are upgrading from Test::Unit, there are a few missing assertions that have been renamed or are no longer available within Minitest.

* The method `assert_raise` is renamed `assert_raises`.
* There is no method `assert_nothing_raised`. There are good reasons for this on [Ryan's blog entry](http:https://blog.zenspider.com/blog/2012/01/assert_nothing_tested.html).

### Mocha

If you are using [Mocha](https://github.com/freerange/mocha) for mocking and stubbing, please update to the latest, 0.13.1 or higher so it is compatible with the latest MiniTest. If you do not like the deprecation warnings in older versions of Rails, just add this below the `require 'rails/all'` within your `application.rb` file :)
If you are using [Mocha](https://github.com/freerange/mocha) for mocking and stubbing, please update to the latest, 0.13.1 or higher so it is compatible with the latest Minitest. If you do not like the deprecation warnings in older versions of Rails, just add this below the `require 'rails/all'` within your `application.rb` file :)

```ruby
require 'mocha/deprecation'
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_v6.0.x.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
minitest-spec-rails (7.0.0)
minitest-spec-rails (7.1.0)
minitest (>= 5.0)
railties (>= 4.1)

Expand Down
2 changes: 1 addition & 1 deletion gemfiles/rails_v6.1.x.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
minitest-spec-rails (7.0.0)
minitest-spec-rails (7.1.0)
minitest (>= 5.0)
railties (>= 4.1)

Expand Down
4 changes: 2 additions & 2 deletions gemfiles/rails_v7.0.x.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
minitest-spec-rails (7.0.0)
minitest-spec-rails (7.1.0)
minitest (>= 5.0)
railties (>= 4.1)

Expand Down Expand Up @@ -166,7 +166,7 @@ DEPENDENCIES
minitest-focus
minitest-spec-rails!
pry
rails (~> 7.0.0)
rails (~> 7.1.0)
rake
sqlite3

Expand Down
2 changes: 1 addition & 1 deletion lib/minitest-spec-rails/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module MiniTestSpecRails
VERSION = '7.0.0'.freeze
VERSION = '7.1.0'.freeze
end

0 comments on commit ead4316

Please sign in to comment.