minitest-rails 7.0.0 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bade7a8545b9e430c25eb5286652f145204c45122a91773af1a2c7a5670e0f86
4
- data.tar.gz: 2546f63ab01b9bc4d738d73bd6e53f14f75a6dab018606b18ffd4dd00f4cf7f8
3
+ metadata.gz: ebecfdc65efcde68695a051d6237d7e6ce9b926eb7ac75ba2a0e0b890ed4d7b5
4
+ data.tar.gz: d2945a8d35b0e94de088cc6f93e4c3ce66df683cb4496ec532564a8b88aab999
5
5
  SHA512:
6
- metadata.gz: 6e82dc7cf9eeb894b7d114cc559812221ff3b88120a4147f62e63decbbc55b82707f5f4e451bfb4d1c891a538b02e83554232645c37ea6f7442aff8fa179e649
7
- data.tar.gz: 5670557ab684c70958b124bed663677ea6f1683972b93ef5f649975fc039eaea6a58f20a0149c1b164f7f82041723e7fe3b3a2e96cb44f3c8e14ebae6e647a22
6
+ metadata.gz: 0414eacafdb264a32b8f45b394d13146978587dd063b8bcfb499a37ee760b560afe6c3f1e1e73785643069120548642a2c6c5d229743948b81643865f6d22744
7
+ data.tar.gz: 854a69aac08cbfd8a2f34d6f352507c29ec4dcfe95f37472ec3cd978aa50974421bdeca7fe2eaeb83065dc8167cf25a50c1b43a7eefa458f0e2ebefc72dd61b6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changes
2
2
 
3
+ ### 7.0.1 / 2022-10-26
4
+
5
+ Fix System test templates. (@bobmazanec)
6
+
3
7
  ### 7.0.0 / 2022-04-25
4
8
 
5
9
  Support Rails 7.0.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # minitest-rails
2
2
 
3
- Minitest integration for Rails 6.1
3
+ Minitest integration for Rails 7.0
4
4
 
5
5
  [![CI](https://github.com/blowmage/minitest-rails/actions/workflows/ci.yml/badge.svg)](https://github.com/blowmage/minitest-rails/actions/workflows/ci.yml)
6
6
  [![Code Climate](https://codeclimate.com/github/blowmage/minitest-rails.png)](https://codeclimate.com/github/blowmage/minitest-rails)
@@ -1,11 +1,10 @@
1
1
  ENV["RAILS_ENV"] ||= "test"
2
+ # Consider setting MT_NO_EXPECTATIONS to not add expectations to Object.
3
+ # ENV["MT_NO_EXPECTATIONS"] = "true"
2
4
  require_relative "../config/environment"
3
5
  require "rails/test_help"
4
6
  require "minitest/rails"
5
7
 
6
- # Consider setting MT_NO_EXPECTATIONS to not add expectations to Object.
7
- # ENV["MT_NO_EXPECTATIONS"] = true
8
-
9
8
  class ActiveSupport::TestCase
10
9
  # Run tests in parallel with specified workers
11
10
  <% if defined?(JRUBY_VERSION) || Gem.win_platform? -%>
@@ -1,9 +1,8 @@
1
1
  require "application_system_test_case"
2
2
 
3
- class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
4
- # test "visiting the index" do
3
+ describe <%= class_name.pluralize %>, :system do
4
+ # it "visits the index" do
5
5
  # visit <%= plural_table_name %>_url
6
- #
7
- # assert_selector "h1", text: "<%= class_name %>"
6
+ # assert_selector "h1", text: "<%= human_name.pluralize %>"
8
7
  # end
9
8
  end
@@ -1,9 +1,8 @@
1
1
  require "application_system_test_case"
2
2
 
3
3
  class <%= class_name.pluralize %>Test < ApplicationSystemTestCase
4
- # test "visiting the index" do
4
+ # def test_visiting_index
5
5
  # visit <%= plural_table_name %>_url
6
- #
7
- # assert_selector "h1", text: "<%= class_name %>"
6
+ # assert_selector "h1", text: "<%= human_name.pluralize %>"
8
7
  # end
9
8
  end
@@ -1,5 +1,5 @@
1
1
  module Minitest
2
2
  module Rails
3
- VERSION = "7.0.0".freeze
3
+ VERSION = "7.0.1".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minitest-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Moore
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-25 00:00:00.000000000 Z
11
+ date: 2023-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -198,7 +198,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  requirements: []
201
- rubygems_version: 3.1.6
201
+ rubygems_version: 3.4.12
202
202
  signing_key:
203
203
  specification_version: 4
204
204
  summary: Minitest integration for Rails