minitest-rails 6.0.0 → 6.0.2
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 +8 -0
- data/README.md +9 -3
- data/lib/generators/minitest/system/templates/system_spec.rb.tt +2 -2
- data/lib/generators/minitest/system/templates/system_test.rb.tt +1 -1
- data/lib/minitest/rails/parallelize.rb +1 -1
- data/lib/minitest/rails/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a5c0bcb43ca14e46822b35c3276cea42f94f032cf92466d38d96952bfd95a98
|
4
|
+
data.tar.gz: c898d3af4147d27ab9cf405c7da3c94b4d559e44db2468b4fdf71da578bd7f76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08db577a6af107ee53a2a162f2d26099eaaea8c293adbf91ea284393e2abd3bc95891dc191b0f45378c5f354e63ee3ef313119e4d6f4ec4392fbcf429fa2ef5e'
|
7
|
+
data.tar.gz: 89e863ba93acf06bba0dcf8a493d9344e278b7b0f0986c38ccf106fa05a9ca13bf5220946052ac8a947bc9cdf610eb1737082ab8fedfd34c7e4252bce33bb19c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -21,13 +21,19 @@ Create a new rails app:
|
|
21
21
|
|
22
22
|
### Choosing a version
|
23
23
|
|
24
|
-
If you are running Rails 6.
|
24
|
+
If you are running Rails 6.x, specify a corresponding 6.x release in the Gemfile. For example, if you are using Rails 6.0 you will specify:
|
25
25
|
|
26
26
|
```ruby
|
27
|
-
gem "minitest-rails",
|
27
|
+
gem "minitest-rails", "~> 6.0.0"
|
28
28
|
```
|
29
29
|
|
30
|
-
If you are running Rails 5.x, specify a
|
30
|
+
If you are running Rails 5.x, specify a corresponding 5.x release in the Gemfile. For example, if you are using Rails 5.2 you will specify:
|
31
|
+
|
32
|
+
```ruby
|
33
|
+
gem "minitest-rails", "~> 5.2.0"
|
34
|
+
```
|
35
|
+
|
36
|
+
Or, if you prefer to run the previous release for Rails 5.x, specify a 3.x release in the Gemfile:
|
31
37
|
|
32
38
|
```ruby
|
33
39
|
gem "minitest-rails", "~> 3.0"
|
@@ -1,7 +1,7 @@
|
|
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
6
|
#
|
7
7
|
# assert_selector "h1", text: "<%= class_name %>"
|
@@ -30,7 +30,7 @@ module Kernel #:nodoc:
|
|
30
30
|
cls_const = "Test__#{cls.name.to_s.split(/\W/).reject(&:empty?).join('_'.freeze)}"
|
31
31
|
if block.source_location
|
32
32
|
source_path, line_num = block.source_location
|
33
|
-
source_path = Pathname.new(source_path).relative_path_from(Rails.root).to_s
|
33
|
+
source_path = Pathname.new(File.expand_path(source_path)).relative_path_from(Rails.root).to_s
|
34
34
|
source_path = source_path.split(/\W/).reject(&:empty?).join("_".freeze)
|
35
35
|
cls_const += "__#{source_path}__#{line_num}"
|
36
36
|
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: 6.0.
|
4
|
+
version: 6.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Moore
|
8
|
-
autorequire:
|
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
|
@@ -182,7 +182,7 @@ homepage: http://blowmage.com/minitest-rails
|
|
182
182
|
licenses:
|
183
183
|
- MIT
|
184
184
|
metadata: {}
|
185
|
-
post_install_message:
|
185
|
+
post_install_message:
|
186
186
|
rdoc_options: []
|
187
187
|
require_paths:
|
188
188
|
- lib
|
@@ -197,8 +197,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
197
197
|
- !ruby/object:Gem::Version
|
198
198
|
version: '0'
|
199
199
|
requirements: []
|
200
|
-
rubygems_version: 3.
|
201
|
-
signing_key:
|
200
|
+
rubygems_version: 3.4.12
|
201
|
+
signing_key:
|
202
202
|
specification_version: 4
|
203
203
|
summary: Minitest integration for Rails
|
204
204
|
test_files: []
|