minitest-spec-rails 5.0.0 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.github/workflows/ci.yml +36 -0
- data/.gitignore +1 -2
- data/.rubocop.yml +26 -0
- data/Appraisals +13 -1
- data/CHANGELOG.md +130 -46
- data/CODE_OF_CONDUCT.md +31 -0
- data/Gemfile +0 -4
- data/README.md +63 -67
- data/Rakefile +6 -14
- data/gemfiles/rails_v6.0.x.gemfile +8 -0
- data/gemfiles/rails_v6.0.x.gemfile.lock +172 -0
- data/gemfiles/rails_v6.1.x.gemfile +8 -0
- data/gemfiles/rails_v6.1.x.gemfile.lock +175 -0
- data/gemfiles/rails_v7.0.x.gemfile +8 -0
- data/gemfiles/rails_v7.0.x.gemfile.lock +174 -0
- data/gemfiles/rails_v7.1.x.gemfile +9 -0
- data/lib/minitest-spec-rails/dsl.rb +6 -10
- data/lib/minitest-spec-rails/init/action_cable.rb +28 -0
- 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 +24 -0
- data/lib/minitest-spec-rails/init/active_support.rb +8 -11
- 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 -17
- data/lib/minitest-spec-rails/version.rb +1 -1
- data/minitest-spec-rails.gemspec +10 -9
- data/test/cases/action_cable_test.rb +38 -0
- data/test/cases/action_controller_test.rb +13 -16
- data/test/cases/action_dispatch_test.rb +18 -21
- data/test/cases/action_mailer_test.rb +13 -16
- data/test/cases/action_view_test.rb +17 -20
- data/test/cases/active_job_test.rb +46 -0
- data/test/cases/active_support_test.rb +28 -18
- data/test/cases/mini_shoulda_test.rb +6 -11
- data/test/dummy_app/app/assets/config/manifest.js +1 -0
- data/test/dummy_app/app/channels/application_cable/channel.rb +4 -0
- data/test/dummy_app/app/channels/application_cable/connection.rb +4 -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/config/storage.yml +34 -0
- data/test/dummy_app/init.rb +18 -21
- data/test/dummy_app/tmp/development_secret.txt +1 -0
- data/test/dummy_tests/application_controller_test.rb +19 -25
- data/test/dummy_tests/{foo_helper_test.rb → foos_helper_test.rb} +2 -5
- data/test/dummy_tests/integration_test.rb +5 -11
- data/test/dummy_tests/library_test.rb +3 -3
- data/test/dummy_tests/special_users_controller_test.rb +10 -0
- data/test/dummy_tests/user_mailer_test.rb +24 -26
- data/test/dummy_tests/user_test.rb +15 -21
- data/test/dummy_tests/users_controller_test.rb +8 -4
- data/test/dummy_tests/users_helper_test.rb +15 -21
- data/test/support/shared_test_case_behavior.rb +4 -7
- data/test/test_helper.rb +1 -5
- data/test/test_helper_dummy.rb +5 -7
- metadata +87 -74
- data/.travis.yml +0 -11
- data/Guardfile +0 -7
- data/test/support/minitest.rb +0 -1
@@ -3,13 +3,12 @@ require 'test_helper_dummy'
|
|
3
3
|
module UserTests
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
included do
|
6
|
-
|
7
6
|
it 'works' do
|
8
|
-
user_ken.must_be_instance_of User
|
7
|
+
expect(user_ken).must_be_instance_of User
|
9
8
|
end
|
10
9
|
|
11
10
|
test 'works with test' do
|
12
|
-
user_ken.must_be_instance_of User
|
11
|
+
expect(user_ken).must_be_instance_of User
|
13
12
|
end
|
14
13
|
|
15
14
|
it 'allows custom assertions' do
|
@@ -17,39 +16,34 @@ module UserTests
|
|
17
16
|
end
|
18
17
|
|
19
18
|
describe 'nested 1' do
|
20
|
-
|
21
19
|
it('works') { skip }
|
22
20
|
|
23
21
|
describe 'nested 2' do
|
24
|
-
|
25
22
|
it('works') { skip }
|
26
|
-
|
27
23
|
end
|
28
24
|
|
29
25
|
test 'works with test' do
|
30
|
-
user_ken.must_be_instance_of User
|
26
|
+
expect(user_ken).must_be_instance_of User
|
31
27
|
end
|
32
|
-
|
33
28
|
end
|
34
|
-
|
35
29
|
end
|
36
30
|
end
|
37
31
|
|
38
32
|
class UserTest < ActiveSupport::TestCase
|
39
33
|
include UserTests
|
40
34
|
it 'reflects' do
|
41
|
-
described_class.must_equal User
|
42
|
-
self.class.described_class.must_equal User
|
35
|
+
expect(described_class).must_equal User
|
36
|
+
expect(self.class.described_class).must_equal User
|
43
37
|
end
|
44
38
|
describe 'level 1' do
|
45
39
|
it 'reflects' do
|
46
|
-
described_class.must_equal
|
47
|
-
self.class.described_class.must_equal User
|
40
|
+
expect(described_class).must_equal User
|
41
|
+
expect(self.class.described_class).must_equal User
|
48
42
|
end
|
49
43
|
describe 'level 2' do
|
50
44
|
it 'reflects' do
|
51
|
-
described_class.must_equal
|
52
|
-
self.class.described_class.must_equal User
|
45
|
+
expect(described_class).must_equal User
|
46
|
+
expect(self.class.described_class).must_equal User
|
53
47
|
end
|
54
48
|
end
|
55
49
|
end
|
@@ -58,18 +52,18 @@ end
|
|
58
52
|
describe User do
|
59
53
|
include UserTests
|
60
54
|
it 'reflects' do
|
61
|
-
described_class.must_equal User
|
62
|
-
self.class.described_class.must_equal User
|
55
|
+
expect(described_class).must_equal User
|
56
|
+
expect(self.class.described_class).must_equal User
|
63
57
|
end
|
64
58
|
describe 'level 1' do
|
65
59
|
it 'reflects' do
|
66
|
-
described_class.must_equal User
|
67
|
-
self.class.described_class.must_equal User
|
60
|
+
expect(described_class).must_equal User
|
61
|
+
expect(self.class.described_class).must_equal User
|
68
62
|
end
|
69
63
|
describe 'level 2' do
|
70
64
|
it 'reflects' do
|
71
|
-
described_class.must_equal User
|
72
|
-
self.class.described_class.must_equal User
|
65
|
+
expect(described_class).must_equal User
|
66
|
+
expect(self.class.described_class).must_equal User
|
73
67
|
end
|
74
68
|
end
|
75
69
|
end
|
@@ -3,17 +3,21 @@ require 'test_helper_dummy'
|
|
3
3
|
module UsersControllerTests
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
included do
|
6
|
-
|
7
|
-
it 'works' do
|
6
|
+
it 'works' do
|
8
7
|
get :index
|
9
8
|
assert_select 'h1', "All #{User.count} Users"
|
10
9
|
end
|
11
10
|
|
12
11
|
it 'redirects' do
|
13
|
-
|
12
|
+
put_update_0
|
14
13
|
assert_redirected_to users_url
|
15
14
|
end
|
16
|
-
|
15
|
+
|
16
|
+
private
|
17
|
+
|
18
|
+
def put_update_0
|
19
|
+
put :update, params: { id: 0 }
|
20
|
+
end
|
17
21
|
end
|
18
22
|
end
|
19
23
|
|
@@ -3,54 +3,48 @@ require 'test_helper_dummy'
|
|
3
3
|
module UsersHelperTests
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
included do
|
6
|
-
|
7
6
|
let(:users_list) { render_users_list User.all }
|
8
7
|
|
9
8
|
before { user_ken }
|
10
9
|
|
11
10
|
it 'works' do
|
12
11
|
user_ken
|
13
|
-
users_list.must_equal "<ul><li>#{user_ken.email}</li></ul>"
|
12
|
+
expect(users_list).must_equal "<ul><li>#{user_ken.email}</li></ul>"
|
14
13
|
end
|
15
14
|
|
16
15
|
it 'can find the helper_class' do
|
17
|
-
self.class.helper_class.must_equal UsersHelper
|
16
|
+
expect(self.class.helper_class).must_equal UsersHelper
|
18
17
|
end
|
19
18
|
|
20
19
|
describe 'nested 1' do
|
21
|
-
|
22
20
|
it('works') { skip }
|
23
21
|
|
24
22
|
it 'can find the helper_class' do
|
25
|
-
self.class.helper_class.must_equal UsersHelper
|
23
|
+
expect(self.class.helper_class).must_equal UsersHelper
|
26
24
|
end
|
27
25
|
|
28
26
|
describe 'nested 2' do
|
29
|
-
|
30
27
|
it('works') { skip }
|
31
|
-
|
32
28
|
end
|
33
|
-
|
34
29
|
end
|
35
|
-
|
36
30
|
end
|
37
31
|
end
|
38
32
|
|
39
33
|
class UsersHelperTest < ActionView::TestCase
|
40
34
|
include UsersHelperTests
|
41
35
|
it 'reflects' do
|
42
|
-
described_class.must_equal UsersHelper
|
43
|
-
self.class.described_class.must_equal UsersHelper
|
36
|
+
expect(described_class).must_equal UsersHelper
|
37
|
+
expect(self.class.described_class).must_equal UsersHelper
|
44
38
|
end
|
45
39
|
describe 'level 1' do
|
46
40
|
it 'reflects' do
|
47
|
-
described_class.must_equal
|
48
|
-
self.class.described_class.must_equal UsersHelper
|
41
|
+
expect(described_class).must_equal UsersHelper
|
42
|
+
expect(self.class.described_class).must_equal UsersHelper
|
49
43
|
end
|
50
44
|
describe 'level 2' do
|
51
45
|
it 'reflects' do
|
52
|
-
described_class.must_equal
|
53
|
-
self.class.described_class.must_equal UsersHelper
|
46
|
+
expect(described_class).must_equal UsersHelper
|
47
|
+
expect(self.class.described_class).must_equal UsersHelper
|
54
48
|
end
|
55
49
|
end
|
56
50
|
end
|
@@ -59,18 +53,18 @@ end
|
|
59
53
|
describe UsersHelper do
|
60
54
|
include UsersHelperTests
|
61
55
|
it 'reflects' do
|
62
|
-
described_class.must_equal UsersHelper
|
63
|
-
self.class.described_class.must_equal UsersHelper
|
56
|
+
expect(described_class).must_equal UsersHelper
|
57
|
+
expect(self.class.described_class).must_equal UsersHelper
|
64
58
|
end
|
65
59
|
describe 'level 1' do
|
66
60
|
it 'reflects' do
|
67
|
-
described_class.must_equal UsersHelper
|
68
|
-
self.class.described_class.must_equal UsersHelper
|
61
|
+
expect(described_class).must_equal UsersHelper
|
62
|
+
expect(self.class.described_class).must_equal UsersHelper
|
69
63
|
end
|
70
64
|
describe 'level 2' do
|
71
65
|
it 'reflects' do
|
72
|
-
described_class.must_equal UsersHelper
|
73
|
-
self.class.described_class.must_equal UsersHelper
|
66
|
+
expect(described_class).must_equal UsersHelper
|
67
|
+
expect(self.class.described_class).must_equal UsersHelper
|
74
68
|
end
|
75
69
|
end
|
76
70
|
end
|
@@ -1,13 +1,12 @@
|
|
1
1
|
module MiniTestSpecRails
|
2
2
|
module SharedTestCaseBehavior
|
3
|
-
|
4
3
|
extend ActiveSupport::Concern
|
5
4
|
|
6
5
|
included do
|
7
6
|
before { setup_dummy_schema }
|
8
7
|
let(:app) { Dummy::Application }
|
9
|
-
let(:user_ken) { User.create! :
|
10
|
-
let(:user_post) { Post.create! :
|
8
|
+
let(:user_ken) { User.create! email: 'ken@metaskills.net' }
|
9
|
+
let(:user_post) { Post.create! title: 'Test Title', body: 'Test body. Test body.', user: user_ken }
|
11
10
|
end
|
12
11
|
|
13
12
|
private
|
@@ -15,17 +14,15 @@ module MiniTestSpecRails
|
|
15
14
|
def setup_dummy_schema
|
16
15
|
ActiveRecord::Base.class_eval do
|
17
16
|
connection.instance_eval do
|
18
|
-
create_table :users, :
|
17
|
+
create_table :users, force: true do |t|
|
19
18
|
t.string :email
|
20
19
|
end
|
21
|
-
create_table :posts, :
|
20
|
+
create_table :posts, force: true do |t|
|
22
21
|
t.string :title, :body
|
23
22
|
t.integer :user_id
|
24
23
|
end
|
25
24
|
end
|
26
25
|
end
|
27
26
|
end
|
28
|
-
|
29
27
|
end
|
30
28
|
end
|
31
|
-
|
data/test/test_helper.rb
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
require 'dummy_app/init'
|
2
|
-
require 'support/minitest'
|
3
2
|
require 'support/shared_test_case_behavior'
|
4
3
|
|
5
4
|
module MiniTestSpecRails
|
6
|
-
class TestCase <
|
7
|
-
|
5
|
+
class TestCase < Minitest::Spec
|
8
6
|
include MiniTestSpecRails::SharedTestCaseBehavior
|
9
|
-
|
10
|
-
|
11
7
|
end
|
12
8
|
end
|
data/test/test_helper_dummy.rb
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
require 'test_helper'
|
2
|
-
require 'rails/test_help'
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
module ActiveSupport
|
4
|
+
class TestCase
|
5
|
+
fixtures :all
|
6
|
+
include MiniTestSpecRails::SharedTestCaseBehavior
|
7
|
+
end
|
10
8
|
end
|
metadata
CHANGED
@@ -1,152 +1,164 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-spec-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
version: 5.0.0
|
4
|
+
version: 7.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ken Collins
|
9
|
-
autorequire:
|
8
|
+
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2023-08-23 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: minitest
|
16
|
-
type: :runtime
|
17
15
|
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '5.0'
|
22
|
-
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
23
22
|
version_requirements: !ruby/object:Gem::Requirement
|
24
23
|
requirements:
|
25
|
-
- -
|
24
|
+
- - ">="
|
26
25
|
- !ruby/object:Gem::Version
|
27
26
|
version: '5.0'
|
28
|
-
none: false
|
29
|
-
prerelease: false
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
32
|
-
type: :runtime
|
28
|
+
name: railties
|
33
29
|
requirement: !ruby/object:Gem::Requirement
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: 4.1
|
38
|
-
|
39
|
-
|
40
|
-
version: '5.0'
|
41
|
-
none: false
|
33
|
+
version: '4.1'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
|
-
- -
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 4.1.0.beta
|
47
|
-
- - <
|
38
|
+
- - ">="
|
48
39
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
50
|
-
none: false
|
51
|
-
prerelease: false
|
40
|
+
version: '4.1'
|
52
41
|
- !ruby/object:Gem::Dependency
|
53
42
|
name: appraisal
|
54
|
-
type: :development
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
56
44
|
requirements:
|
57
|
-
- -
|
45
|
+
- - ">="
|
58
46
|
- !ruby/object:Gem::Version
|
59
47
|
version: '0'
|
60
|
-
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
61
50
|
version_requirements: !ruby/object:Gem::Requirement
|
62
51
|
requirements:
|
63
|
-
- -
|
52
|
+
- - ">="
|
64
53
|
- !ruby/object:Gem::Version
|
65
54
|
version: '0'
|
66
|
-
none: false
|
67
|
-
prerelease: false
|
68
55
|
- !ruby/object:Gem::Dependency
|
69
|
-
name:
|
70
|
-
type: :development
|
56
|
+
name: minitest-focus
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
|
-
- -
|
59
|
+
- - ">="
|
74
60
|
- !ruby/object:Gem::Version
|
75
61
|
version: '0'
|
76
|
-
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
77
64
|
version_requirements: !ruby/object:Gem::Requirement
|
78
65
|
requirements:
|
79
|
-
- -
|
66
|
+
- - ">="
|
80
67
|
- !ruby/object:Gem::Version
|
81
68
|
version: '0'
|
82
|
-
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: pry
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
83
77
|
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
84
83
|
- !ruby/object:Gem::Dependency
|
85
84
|
name: rake
|
86
|
-
type: :development
|
87
85
|
requirement: !ruby/object:Gem::Requirement
|
88
86
|
requirements:
|
89
|
-
- -
|
87
|
+
- - ">="
|
90
88
|
- !ruby/object:Gem::Version
|
91
89
|
version: '0'
|
92
|
-
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
93
92
|
version_requirements: !ruby/object:Gem::Requirement
|
94
93
|
requirements:
|
95
|
-
- -
|
94
|
+
- - ">="
|
96
95
|
- !ruby/object:Gem::Version
|
97
96
|
version: '0'
|
98
|
-
none: false
|
99
|
-
prerelease: false
|
100
97
|
- !ruby/object:Gem::Dependency
|
101
98
|
name: sqlite3
|
102
|
-
type: :development
|
103
99
|
requirement: !ruby/object:Gem::Requirement
|
104
100
|
requirements:
|
105
|
-
- -
|
101
|
+
- - ">="
|
106
102
|
- !ruby/object:Gem::Version
|
107
103
|
version: '0'
|
108
|
-
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
109
106
|
version_requirements: !ruby/object:Gem::Requirement
|
110
107
|
requirements:
|
111
|
-
- -
|
108
|
+
- - ">="
|
112
109
|
- !ruby/object:Gem::Version
|
113
110
|
version: '0'
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
within your existing Rails 3 or 4 test suite.
|
111
|
+
description: |-
|
112
|
+
The minitest-spec-rails gem makes it easy to use the \
|
113
|
+
Minitest::Spec DSL within your existing Rails test suite.
|
118
114
|
email:
|
119
115
|
- ken@metaskills.net
|
120
116
|
executables: []
|
121
117
|
extensions: []
|
122
118
|
extra_rdoc_files: []
|
123
119
|
files:
|
124
|
-
- .
|
125
|
-
- .
|
120
|
+
- ".github/workflows/ci.yml"
|
121
|
+
- ".gitignore"
|
122
|
+
- ".rubocop.yml"
|
126
123
|
- Appraisals
|
127
124
|
- CHANGELOG.md
|
125
|
+
- CODE_OF_CONDUCT.md
|
128
126
|
- Gemfile
|
129
|
-
- Guardfile
|
130
127
|
- MIT-LICENSE
|
131
128
|
- README.md
|
132
129
|
- Rakefile
|
130
|
+
- gemfiles/rails_v6.0.x.gemfile
|
131
|
+
- gemfiles/rails_v6.0.x.gemfile.lock
|
132
|
+
- gemfiles/rails_v6.1.x.gemfile
|
133
|
+
- gemfiles/rails_v6.1.x.gemfile.lock
|
134
|
+
- gemfiles/rails_v7.0.x.gemfile
|
135
|
+
- gemfiles/rails_v7.0.x.gemfile.lock
|
136
|
+
- gemfiles/rails_v7.1.x.gemfile
|
133
137
|
- lib/minitest-spec-rails.rb
|
134
138
|
- lib/minitest-spec-rails/dsl.rb
|
139
|
+
- lib/minitest-spec-rails/init/action_cable.rb
|
135
140
|
- lib/minitest-spec-rails/init/action_controller.rb
|
136
141
|
- lib/minitest-spec-rails/init/action_dispatch.rb
|
137
142
|
- lib/minitest-spec-rails/init/action_mailer.rb
|
138
143
|
- lib/minitest-spec-rails/init/action_view.rb
|
144
|
+
- lib/minitest-spec-rails/init/active_job.rb
|
139
145
|
- lib/minitest-spec-rails/init/active_support.rb
|
140
146
|
- lib/minitest-spec-rails/init/mini_shoulda.rb
|
147
|
+
- lib/minitest-spec-rails/parallelize.rb
|
141
148
|
- lib/minitest-spec-rails/railtie.rb
|
142
149
|
- lib/minitest-spec-rails/version.rb
|
143
150
|
- minitest-spec-rails.gemspec
|
151
|
+
- test/cases/action_cable_test.rb
|
144
152
|
- test/cases/action_controller_test.rb
|
145
153
|
- test/cases/action_dispatch_test.rb
|
146
154
|
- test/cases/action_mailer_test.rb
|
147
155
|
- test/cases/action_view_test.rb
|
156
|
+
- test/cases/active_job_test.rb
|
148
157
|
- test/cases/active_support_test.rb
|
149
158
|
- test/cases/mini_shoulda_test.rb
|
159
|
+
- test/dummy_app/app/assets/config/manifest.js
|
160
|
+
- test/dummy_app/app/channels/application_cable/channel.rb
|
161
|
+
- test/dummy_app/app/channels/application_cable/connection.rb
|
150
162
|
- test/dummy_app/app/controllers/application_controller.rb
|
151
163
|
- test/dummy_app/app/controllers/users_controller.rb
|
152
164
|
- test/dummy_app/app/helpers/application_helper.rb
|
@@ -158,59 +170,58 @@ files:
|
|
158
170
|
- test/dummy_app/app/views/users/index.html.erb
|
159
171
|
- test/dummy_app/config/database.yml
|
160
172
|
- test/dummy_app/config/routes.rb
|
173
|
+
- test/dummy_app/config/storage.yml
|
161
174
|
- test/dummy_app/init.rb
|
162
175
|
- test/dummy_app/lib/library.rb
|
163
176
|
- test/dummy_app/tmp/.gitkeep
|
177
|
+
- test/dummy_app/tmp/development_secret.txt
|
164
178
|
- test/dummy_tests/application_controller_test.rb
|
165
|
-
- test/dummy_tests/
|
179
|
+
- test/dummy_tests/foos_helper_test.rb
|
166
180
|
- test/dummy_tests/integration_test.rb
|
167
181
|
- test/dummy_tests/library_test.rb
|
182
|
+
- test/dummy_tests/special_users_controller_test.rb
|
168
183
|
- test/dummy_tests/user_mailer_test.rb
|
169
184
|
- test/dummy_tests/user_test.rb
|
170
185
|
- test/dummy_tests/users_controller_test.rb
|
171
186
|
- test/dummy_tests/users_helper_test.rb
|
172
|
-
- test/support/minitest.rb
|
173
187
|
- test/support/shared_test_case_behavior.rb
|
174
188
|
- test/test_helper.rb
|
175
189
|
- test/test_helper_dummy.rb
|
176
190
|
homepage: http://github.com/metaskills/minitest-spec-rails
|
177
191
|
licenses:
|
178
192
|
- MIT
|
179
|
-
|
193
|
+
metadata: {}
|
194
|
+
post_install_message:
|
180
195
|
rdoc_options: []
|
181
196
|
require_paths:
|
182
197
|
- lib
|
183
198
|
required_ruby_version: !ruby/object:Gem::Requirement
|
184
199
|
requirements:
|
185
|
-
- -
|
200
|
+
- - ">="
|
186
201
|
- !ruby/object:Gem::Version
|
187
|
-
segments:
|
188
|
-
- 0
|
189
|
-
hash: 1614700249652429309
|
190
202
|
version: '0'
|
191
|
-
none: false
|
192
203
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
204
|
requirements:
|
194
|
-
- -
|
205
|
+
- - ">="
|
195
206
|
- !ruby/object:Gem::Version
|
196
|
-
segments:
|
197
|
-
- 0
|
198
|
-
hash: 1614700249652429309
|
199
207
|
version: '0'
|
200
|
-
none: false
|
201
208
|
requirements: []
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
summary: Make Rails Use MiniTest::Spec!
|
209
|
+
rubygems_version: 3.4.6
|
210
|
+
signing_key:
|
211
|
+
specification_version: 4
|
212
|
+
summary: Make Rails Use Minitest::Spec!
|
207
213
|
test_files:
|
214
|
+
- test/cases/action_cable_test.rb
|
208
215
|
- test/cases/action_controller_test.rb
|
209
216
|
- test/cases/action_dispatch_test.rb
|
210
217
|
- test/cases/action_mailer_test.rb
|
211
218
|
- test/cases/action_view_test.rb
|
219
|
+
- test/cases/active_job_test.rb
|
212
220
|
- test/cases/active_support_test.rb
|
213
221
|
- test/cases/mini_shoulda_test.rb
|
222
|
+
- test/dummy_app/app/assets/config/manifest.js
|
223
|
+
- test/dummy_app/app/channels/application_cable/channel.rb
|
224
|
+
- test/dummy_app/app/channels/application_cable/connection.rb
|
214
225
|
- test/dummy_app/app/controllers/application_controller.rb
|
215
226
|
- test/dummy_app/app/controllers/users_controller.rb
|
216
227
|
- test/dummy_app/app/helpers/application_helper.rb
|
@@ -222,18 +233,20 @@ test_files:
|
|
222
233
|
- test/dummy_app/app/views/users/index.html.erb
|
223
234
|
- test/dummy_app/config/database.yml
|
224
235
|
- test/dummy_app/config/routes.rb
|
236
|
+
- test/dummy_app/config/storage.yml
|
225
237
|
- test/dummy_app/init.rb
|
226
238
|
- test/dummy_app/lib/library.rb
|
227
239
|
- test/dummy_app/tmp/.gitkeep
|
240
|
+
- test/dummy_app/tmp/development_secret.txt
|
228
241
|
- test/dummy_tests/application_controller_test.rb
|
229
|
-
- test/dummy_tests/
|
242
|
+
- test/dummy_tests/foos_helper_test.rb
|
230
243
|
- test/dummy_tests/integration_test.rb
|
231
244
|
- test/dummy_tests/library_test.rb
|
245
|
+
- test/dummy_tests/special_users_controller_test.rb
|
232
246
|
- test/dummy_tests/user_mailer_test.rb
|
233
247
|
- test/dummy_tests/user_test.rb
|
234
248
|
- test/dummy_tests/users_controller_test.rb
|
235
249
|
- test/dummy_tests/users_helper_test.rb
|
236
|
-
- test/support/minitest.rb
|
237
250
|
- test/support/shared_test_case_behavior.rb
|
238
251
|
- test/test_helper.rb
|
239
252
|
- test/test_helper_dummy.rb
|
data/.travis.yml
DELETED
data/Guardfile
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
guard 'minitest' do
|
2
|
-
watch(%r|^lib/minitest-spec-rails/init/(.*)\.rb|) { |m| "test/cases/#{m[1]}_test.rb" }
|
3
|
-
watch(%r|^test/test_helper\.rb|) { "test" }
|
4
|
-
watch(%r|^test/test_helper_dummy\.rb|) { "test" }
|
5
|
-
watch(%r|^test/cases/(.*)_test\.rb|)
|
6
|
-
watch(%r|^test/dummy_tests/(.*)_test\.rb|)
|
7
|
-
end
|
data/test/support/minitest.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
|