minitest-spec-rails 5.4.0 → 6.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +35 -0
- data/.rubocop.yml +26 -0
- data/Appraisals +10 -6
- data/CHANGELOG.md +25 -1
- data/Gemfile +0 -1
- data/README.md +23 -35
- data/Rakefile +6 -6
- data/gemfiles/{rails42.gemfile → rails_v5.1.x.gemfile} +3 -2
- data/gemfiles/rails_v5.1.x.gemfile.lock +128 -0
- data/gemfiles/{rails50.gemfile → rails_v5.2.x.gemfile} +3 -2
- data/gemfiles/rails_v5.2.x.gemfile.lock +136 -0
- data/gemfiles/{rails41.gemfile → rails_v6.0.x.gemfile} +3 -2
- data/gemfiles/rails_v6.0.x.gemfile.lock +152 -0
- data/lib/minitest-spec-rails/dsl.rb +5 -9
- data/lib/minitest-spec-rails/init/action_controller.rb +3 -7
- data/lib/minitest-spec-rails/init/action_dispatch.rb +1 -3
- data/lib/minitest-spec-rails/init/action_mailer.rb +2 -7
- data/lib/minitest-spec-rails/init/action_view.rb +1 -5
- data/lib/minitest-spec-rails/init/active_job.rb +3 -8
- data/lib/minitest-spec-rails/init/active_support.rb +8 -10
- data/lib/minitest-spec-rails/init/mini_shoulda.rb +2 -6
- data/lib/minitest-spec-rails/parallelize.rb +30 -0
- data/lib/minitest-spec-rails/railtie.rb +24 -21
- data/lib/minitest-spec-rails/version.rb +1 -1
- data/minitest-spec-rails.gemspec +7 -7
- data/test/cases/action_controller_test.rb +7 -10
- data/test/cases/action_dispatch_test.rb +10 -13
- data/test/cases/action_mailer_test.rb +7 -10
- data/test/cases/action_view_test.rb +13 -16
- data/test/cases/active_job_test.rb +38 -36
- data/test/cases/active_support_test.rb +22 -12
- data/test/cases/mini_shoulda_test.rb +0 -4
- data/test/dummy_app/app/assets/config/manifest.js +1 -0
- data/test/dummy_app/app/controllers/application_controller.rb +1 -3
- data/test/dummy_app/app/controllers/users_controller.rb +1 -3
- data/test/dummy_app/app/helpers/application_helper.rb +0 -1
- data/test/dummy_app/app/helpers/foos_helper.rb +3 -1
- data/test/dummy_app/app/helpers/users_helper.rb +1 -3
- data/test/dummy_app/app/mailers/user_mailer.rb +2 -4
- data/test/dummy_app/app/models/post.rb +0 -3
- data/test/dummy_app/app/models/user.rb +0 -3
- data/test/dummy_app/config/routes.rb +1 -1
- data/test/dummy_app/init.rb +13 -6
- data/test/dummy_tests/application_controller_test.rb +3 -9
- data/test/dummy_tests/foos_helper_test.rb +0 -3
- data/test/dummy_tests/integration_test.rb +2 -8
- data/test/dummy_tests/special_users_controller_test.rb +0 -2
- data/test/dummy_tests/user_mailer_test.rb +4 -10
- data/test/dummy_tests/user_test.rb +2 -8
- data/test/dummy_tests/users_controller_test.rb +1 -3
- data/test/dummy_tests/users_helper_test.rb +2 -8
- data/test/support/shared_test_case_behavior.rb +4 -7
- data/test/test_helper.rb +0 -3
- data/test/test_helper_dummy.rb +5 -6
- metadata +20 -16
- data/.travis.yml +0 -22
- data/gemfiles/rails41.gemfile.lock +0 -96
- data/gemfiles/rails42.gemfile.lock +0 -123
- data/gemfiles/rails50.gemfile.lock +0 -133
data/.travis.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
cache: bundler
|
3
|
-
rvm:
|
4
|
-
- 2.0
|
5
|
-
- 2.1
|
6
|
-
- 2.2.3
|
7
|
-
gemfile:
|
8
|
-
- gemfiles/rails41.gemfile
|
9
|
-
- gemfiles/rails42.gemfile
|
10
|
-
- gemfiles/rails50.gemfile
|
11
|
-
install:
|
12
|
-
- gem install bundler
|
13
|
-
- bundle --version
|
14
|
-
- bundle install
|
15
|
-
script:
|
16
|
-
- bundle exec rake test
|
17
|
-
matrix:
|
18
|
-
exclude:
|
19
|
-
- rvm: 2.0
|
20
|
-
gemfile: gemfiles/rails50.gemfile
|
21
|
-
- rvm: 2.1
|
22
|
-
gemfile: gemfiles/rails50.gemfile
|
@@ -1,96 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
minitest-spec-rails (5.4.0)
|
5
|
-
minitest (~> 5.0)
|
6
|
-
rails (>= 4.1)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
actionmailer (4.1.15)
|
12
|
-
actionpack (= 4.1.15)
|
13
|
-
actionview (= 4.1.15)
|
14
|
-
mail (~> 2.5, >= 2.5.4)
|
15
|
-
actionpack (4.1.15)
|
16
|
-
actionview (= 4.1.15)
|
17
|
-
activesupport (= 4.1.15)
|
18
|
-
rack (~> 1.5.2)
|
19
|
-
rack-test (~> 0.6.2)
|
20
|
-
actionview (4.1.15)
|
21
|
-
activesupport (= 4.1.15)
|
22
|
-
builder (~> 3.1)
|
23
|
-
erubis (~> 2.7.0)
|
24
|
-
activemodel (4.1.15)
|
25
|
-
activesupport (= 4.1.15)
|
26
|
-
builder (~> 3.1)
|
27
|
-
activerecord (4.1.15)
|
28
|
-
activemodel (= 4.1.15)
|
29
|
-
activesupport (= 4.1.15)
|
30
|
-
arel (~> 5.0.0)
|
31
|
-
activesupport (4.1.15)
|
32
|
-
i18n (~> 0.6, >= 0.6.9)
|
33
|
-
json (~> 1.7, >= 1.7.7)
|
34
|
-
minitest (~> 5.1)
|
35
|
-
thread_safe (~> 0.1)
|
36
|
-
tzinfo (~> 1.1)
|
37
|
-
appraisal (2.1.0)
|
38
|
-
bundler
|
39
|
-
rake
|
40
|
-
thor (>= 0.14.0)
|
41
|
-
arel (5.0.1.20140414130214)
|
42
|
-
builder (3.2.2)
|
43
|
-
concurrent-ruby (1.0.2)
|
44
|
-
erubis (2.7.0)
|
45
|
-
i18n (0.7.0)
|
46
|
-
json (1.8.3)
|
47
|
-
mail (2.6.4)
|
48
|
-
mime-types (>= 1.16, < 4)
|
49
|
-
mime-types (3.1)
|
50
|
-
mime-types-data (~> 3.2015)
|
51
|
-
mime-types-data (3.2016.0521)
|
52
|
-
minitest (5.9.0)
|
53
|
-
rack (1.5.5)
|
54
|
-
rack-test (0.6.3)
|
55
|
-
rack (>= 1.0)
|
56
|
-
rails (4.1.15)
|
57
|
-
actionmailer (= 4.1.15)
|
58
|
-
actionpack (= 4.1.15)
|
59
|
-
actionview (= 4.1.15)
|
60
|
-
activemodel (= 4.1.15)
|
61
|
-
activerecord (= 4.1.15)
|
62
|
-
activesupport (= 4.1.15)
|
63
|
-
bundler (>= 1.3.0, < 2.0)
|
64
|
-
railties (= 4.1.15)
|
65
|
-
sprockets-rails (~> 2.0)
|
66
|
-
railties (4.1.15)
|
67
|
-
actionpack (= 4.1.15)
|
68
|
-
activesupport (= 4.1.15)
|
69
|
-
rake (>= 0.8.7)
|
70
|
-
thor (>= 0.18.1, < 2.0)
|
71
|
-
rake (11.2.2)
|
72
|
-
sprockets (3.6.0)
|
73
|
-
concurrent-ruby (~> 1.0)
|
74
|
-
rack (> 1, < 3)
|
75
|
-
sprockets-rails (2.3.3)
|
76
|
-
actionpack (>= 3.0)
|
77
|
-
activesupport (>= 3.0)
|
78
|
-
sprockets (>= 2.8, < 4.0)
|
79
|
-
sqlite3 (1.3.11)
|
80
|
-
thor (0.19.1)
|
81
|
-
thread_safe (0.3.5)
|
82
|
-
tzinfo (1.2.2)
|
83
|
-
thread_safe (~> 0.1)
|
84
|
-
|
85
|
-
PLATFORMS
|
86
|
-
ruby
|
87
|
-
|
88
|
-
DEPENDENCIES
|
89
|
-
appraisal
|
90
|
-
minitest-spec-rails!
|
91
|
-
rails (~> 4.1.0)
|
92
|
-
rake
|
93
|
-
sqlite3
|
94
|
-
|
95
|
-
BUNDLED WITH
|
96
|
-
1.12.4
|
@@ -1,123 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
minitest-spec-rails (5.4.0)
|
5
|
-
minitest (~> 5.0)
|
6
|
-
rails (>= 4.1)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
actionmailer (4.2.6)
|
12
|
-
actionpack (= 4.2.6)
|
13
|
-
actionview (= 4.2.6)
|
14
|
-
activejob (= 4.2.6)
|
15
|
-
mail (~> 2.5, >= 2.5.4)
|
16
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
17
|
-
actionpack (4.2.6)
|
18
|
-
actionview (= 4.2.6)
|
19
|
-
activesupport (= 4.2.6)
|
20
|
-
rack (~> 1.6)
|
21
|
-
rack-test (~> 0.6.2)
|
22
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
23
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
24
|
-
actionview (4.2.6)
|
25
|
-
activesupport (= 4.2.6)
|
26
|
-
builder (~> 3.1)
|
27
|
-
erubis (~> 2.7.0)
|
28
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
29
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
30
|
-
activejob (4.2.6)
|
31
|
-
activesupport (= 4.2.6)
|
32
|
-
globalid (>= 0.3.0)
|
33
|
-
activemodel (4.2.6)
|
34
|
-
activesupport (= 4.2.6)
|
35
|
-
builder (~> 3.1)
|
36
|
-
activerecord (4.2.6)
|
37
|
-
activemodel (= 4.2.6)
|
38
|
-
activesupport (= 4.2.6)
|
39
|
-
arel (~> 6.0)
|
40
|
-
activesupport (4.2.6)
|
41
|
-
i18n (~> 0.7)
|
42
|
-
json (~> 1.7, >= 1.7.7)
|
43
|
-
minitest (~> 5.1)
|
44
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
45
|
-
tzinfo (~> 1.1)
|
46
|
-
appraisal (2.1.0)
|
47
|
-
bundler
|
48
|
-
rake
|
49
|
-
thor (>= 0.14.0)
|
50
|
-
arel (6.0.3)
|
51
|
-
builder (3.2.2)
|
52
|
-
concurrent-ruby (1.0.2)
|
53
|
-
erubis (2.7.0)
|
54
|
-
globalid (0.3.6)
|
55
|
-
activesupport (>= 4.1.0)
|
56
|
-
i18n (0.7.0)
|
57
|
-
json (1.8.3)
|
58
|
-
loofah (2.0.3)
|
59
|
-
nokogiri (>= 1.5.9)
|
60
|
-
mail (2.6.4)
|
61
|
-
mime-types (>= 1.16, < 4)
|
62
|
-
mime-types (3.1)
|
63
|
-
mime-types-data (~> 3.2015)
|
64
|
-
mime-types-data (3.2016.0521)
|
65
|
-
mini_portile2 (2.1.0)
|
66
|
-
minitest (5.9.0)
|
67
|
-
nokogiri (1.6.8)
|
68
|
-
mini_portile2 (~> 2.1.0)
|
69
|
-
pkg-config (~> 1.1.7)
|
70
|
-
pkg-config (1.1.7)
|
71
|
-
rack (1.6.4)
|
72
|
-
rack-test (0.6.3)
|
73
|
-
rack (>= 1.0)
|
74
|
-
rails (4.2.6)
|
75
|
-
actionmailer (= 4.2.6)
|
76
|
-
actionpack (= 4.2.6)
|
77
|
-
actionview (= 4.2.6)
|
78
|
-
activejob (= 4.2.6)
|
79
|
-
activemodel (= 4.2.6)
|
80
|
-
activerecord (= 4.2.6)
|
81
|
-
activesupport (= 4.2.6)
|
82
|
-
bundler (>= 1.3.0, < 2.0)
|
83
|
-
railties (= 4.2.6)
|
84
|
-
sprockets-rails
|
85
|
-
rails-deprecated_sanitizer (1.0.3)
|
86
|
-
activesupport (>= 4.2.0.alpha)
|
87
|
-
rails-dom-testing (1.0.7)
|
88
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
89
|
-
nokogiri (~> 1.6.0)
|
90
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
91
|
-
rails-html-sanitizer (1.0.3)
|
92
|
-
loofah (~> 2.0)
|
93
|
-
railties (4.2.6)
|
94
|
-
actionpack (= 4.2.6)
|
95
|
-
activesupport (= 4.2.6)
|
96
|
-
rake (>= 0.8.7)
|
97
|
-
thor (>= 0.18.1, < 2.0)
|
98
|
-
rake (11.2.2)
|
99
|
-
sprockets (3.6.0)
|
100
|
-
concurrent-ruby (~> 1.0)
|
101
|
-
rack (> 1, < 3)
|
102
|
-
sprockets-rails (3.0.4)
|
103
|
-
actionpack (>= 4.0)
|
104
|
-
activesupport (>= 4.0)
|
105
|
-
sprockets (>= 3.0.0)
|
106
|
-
sqlite3 (1.3.11)
|
107
|
-
thor (0.19.1)
|
108
|
-
thread_safe (0.3.5)
|
109
|
-
tzinfo (1.2.2)
|
110
|
-
thread_safe (~> 0.1)
|
111
|
-
|
112
|
-
PLATFORMS
|
113
|
-
ruby
|
114
|
-
|
115
|
-
DEPENDENCIES
|
116
|
-
appraisal
|
117
|
-
minitest-spec-rails!
|
118
|
-
rails (~> 4.2.0)
|
119
|
-
rake
|
120
|
-
sqlite3
|
121
|
-
|
122
|
-
BUNDLED WITH
|
123
|
-
1.12.4
|
@@ -1,133 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
minitest-spec-rails (5.4.0)
|
5
|
-
minitest (~> 5.0)
|
6
|
-
rails (>= 4.1)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
actioncable (5.0.0.rc1)
|
12
|
-
actionpack (= 5.0.0.rc1)
|
13
|
-
nio4r (~> 1.2)
|
14
|
-
websocket-driver (~> 0.6.1)
|
15
|
-
actionmailer (5.0.0.rc1)
|
16
|
-
actionpack (= 5.0.0.rc1)
|
17
|
-
actionview (= 5.0.0.rc1)
|
18
|
-
activejob (= 5.0.0.rc1)
|
19
|
-
mail (~> 2.5, >= 2.5.4)
|
20
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
21
|
-
actionpack (5.0.0.rc1)
|
22
|
-
actionview (= 5.0.0.rc1)
|
23
|
-
activesupport (= 5.0.0.rc1)
|
24
|
-
rack (~> 2.x)
|
25
|
-
rack-test (~> 0.6.3)
|
26
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
27
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
28
|
-
actionview (5.0.0.rc1)
|
29
|
-
activesupport (= 5.0.0.rc1)
|
30
|
-
builder (~> 3.1)
|
31
|
-
erubis (~> 2.7.0)
|
32
|
-
rails-dom-testing (~> 1.0, >= 1.0.5)
|
33
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
34
|
-
activejob (5.0.0.rc1)
|
35
|
-
activesupport (= 5.0.0.rc1)
|
36
|
-
globalid (>= 0.3.6)
|
37
|
-
activemodel (5.0.0.rc1)
|
38
|
-
activesupport (= 5.0.0.rc1)
|
39
|
-
activerecord (5.0.0.rc1)
|
40
|
-
activemodel (= 5.0.0.rc1)
|
41
|
-
activesupport (= 5.0.0.rc1)
|
42
|
-
arel (~> 7.0)
|
43
|
-
activesupport (5.0.0.rc1)
|
44
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
45
|
-
i18n (~> 0.7)
|
46
|
-
minitest (~> 5.1)
|
47
|
-
tzinfo (~> 1.1)
|
48
|
-
appraisal (2.1.0)
|
49
|
-
bundler
|
50
|
-
rake
|
51
|
-
thor (>= 0.14.0)
|
52
|
-
arel (7.0.0)
|
53
|
-
builder (3.2.2)
|
54
|
-
concurrent-ruby (1.0.2)
|
55
|
-
erubis (2.7.0)
|
56
|
-
globalid (0.3.6)
|
57
|
-
activesupport (>= 4.1.0)
|
58
|
-
i18n (0.7.0)
|
59
|
-
json (1.8.3)
|
60
|
-
loofah (2.0.3)
|
61
|
-
nokogiri (>= 1.5.9)
|
62
|
-
mail (2.6.4)
|
63
|
-
mime-types (>= 1.16, < 4)
|
64
|
-
method_source (0.8.2)
|
65
|
-
mime-types (3.1)
|
66
|
-
mime-types-data (~> 3.2015)
|
67
|
-
mime-types-data (3.2016.0521)
|
68
|
-
mini_portile2 (2.1.0)
|
69
|
-
minitest (5.9.0)
|
70
|
-
nio4r (1.2.1)
|
71
|
-
nokogiri (1.6.8)
|
72
|
-
mini_portile2 (~> 2.1.0)
|
73
|
-
pkg-config (~> 1.1.7)
|
74
|
-
pkg-config (1.1.7)
|
75
|
-
rack (2.0.0.rc1)
|
76
|
-
json
|
77
|
-
rack-test (0.6.3)
|
78
|
-
rack (>= 1.0)
|
79
|
-
rails (5.0.0.rc1)
|
80
|
-
actioncable (= 5.0.0.rc1)
|
81
|
-
actionmailer (= 5.0.0.rc1)
|
82
|
-
actionpack (= 5.0.0.rc1)
|
83
|
-
actionview (= 5.0.0.rc1)
|
84
|
-
activejob (= 5.0.0.rc1)
|
85
|
-
activemodel (= 5.0.0.rc1)
|
86
|
-
activerecord (= 5.0.0.rc1)
|
87
|
-
activesupport (= 5.0.0.rc1)
|
88
|
-
bundler (>= 1.3.0, < 2.0)
|
89
|
-
railties (= 5.0.0.rc1)
|
90
|
-
sprockets-rails (>= 2.0.0)
|
91
|
-
rails-deprecated_sanitizer (1.0.3)
|
92
|
-
activesupport (>= 4.2.0.alpha)
|
93
|
-
rails-dom-testing (1.0.7)
|
94
|
-
activesupport (>= 4.2.0.beta, < 5.0)
|
95
|
-
nokogiri (~> 1.6.0)
|
96
|
-
rails-deprecated_sanitizer (>= 1.0.1)
|
97
|
-
rails-html-sanitizer (1.0.3)
|
98
|
-
loofah (~> 2.0)
|
99
|
-
railties (5.0.0.rc1)
|
100
|
-
actionpack (= 5.0.0.rc1)
|
101
|
-
activesupport (= 5.0.0.rc1)
|
102
|
-
method_source
|
103
|
-
rake (>= 0.8.7)
|
104
|
-
thor (>= 0.18.1, < 2.0)
|
105
|
-
rake (11.2.2)
|
106
|
-
sprockets (3.6.0)
|
107
|
-
concurrent-ruby (~> 1.0)
|
108
|
-
rack (> 1, < 3)
|
109
|
-
sprockets-rails (3.0.4)
|
110
|
-
actionpack (>= 4.0)
|
111
|
-
activesupport (>= 4.0)
|
112
|
-
sprockets (>= 3.0.0)
|
113
|
-
sqlite3 (1.3.11)
|
114
|
-
thor (0.19.1)
|
115
|
-
thread_safe (0.3.5)
|
116
|
-
tzinfo (1.2.2)
|
117
|
-
thread_safe (~> 0.1)
|
118
|
-
websocket-driver (0.6.4)
|
119
|
-
websocket-extensions (>= 0.1.0)
|
120
|
-
websocket-extensions (0.1.2)
|
121
|
-
|
122
|
-
PLATFORMS
|
123
|
-
ruby
|
124
|
-
|
125
|
-
DEPENDENCIES
|
126
|
-
appraisal
|
127
|
-
minitest-spec-rails!
|
128
|
-
rails (= 5.0.0.rc1)
|
129
|
-
rake
|
130
|
-
sqlite3
|
131
|
-
|
132
|
-
BUNDLED WITH
|
133
|
-
1.12.4
|