minitest-rails 7.0.0 → 7.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/generators/minitest/install/templates/test/test_helper.rb.tt +2 -3
- data/lib/generators/minitest/system/templates/system_spec.rb.tt +3 -4
- data/lib/generators/minitest/system/templates/system_test.rb.tt +2 -3
- data/lib/minitest/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebecfdc65efcde68695a051d6237d7e6ce9b926eb7ac75ba2a0e0b890ed4d7b5
|
4
|
+
data.tar.gz: d2945a8d35b0e94de088cc6f93e4c3ce66df683cb4496ec532564a8b88aab999
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0414eacafdb264a32b8f45b394d13146978587dd063b8bcfb499a37ee760b560afe6c3f1e1e73785643069120548642a2c6c5d229743948b81643865f6d22744
|
7
|
+
data.tar.gz: 854a69aac08cbfd8a2f34d6f352507c29ec4dcfe95f37472ec3cd978aa50974421bdeca7fe2eaeb83065dc8167cf25a50c1b43a7eefa458f0e2ebefc72dd61b6
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# minitest-rails
|
2
2
|
|
3
|
-
Minitest integration for Rails
|
3
|
+
Minitest integration for Rails 7.0
|
4
4
|
|
5
5
|
[](https://github.com/blowmage/minitest-rails/actions/workflows/ci.yml)
|
6
6
|
[](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
|
-
|
4
|
-
#
|
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
|
-
#
|
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
|
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.
|
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:
|
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.
|
201
|
+
rubygems_version: 3.4.12
|
202
202
|
signing_key:
|
203
203
|
specification_version: 4
|
204
204
|
summary: Minitest integration for Rails
|