minitest-spec-rails 6.2.0 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +8 -7
- data/Appraisals +5 -12
- data/CHANGELOG.md +13 -0
- data/README.md +24 -24
- data/gemfiles/rails_v6.0.x.gemfile.lock +107 -87
- data/gemfiles/{rails_v5.2.x.gemfile → rails_v6.1.x.gemfile} +1 -1
- data/gemfiles/rails_v6.1.x.gemfile.lock +175 -0
- data/gemfiles/rails_v7.0.x.gemfile +1 -2
- data/gemfiles/rails_v7.0.x.gemfile.lock +174 -0
- data/gemfiles/rails_v7.1.x.gemfile +9 -0
- data/lib/minitest-spec-rails/init/action_cable.rb +28 -0
- data/lib/minitest-spec-rails/init/action_view.rb +1 -3
- data/lib/minitest-spec-rails/init/active_support.rb +1 -1
- data/lib/minitest-spec-rails/railtie.rb +3 -0
- data/lib/minitest-spec-rails/version.rb +1 -1
- data/minitest-spec-rails.gemspec +4 -2
- data/test/cases/action_cable_test.rb +38 -0
- data/test/cases/action_controller_test.rb +13 -13
- data/test/cases/action_dispatch_test.rb +18 -18
- data/test/cases/action_mailer_test.rb +13 -13
- data/test/cases/action_view_test.rb +17 -17
- data/test/cases/active_job_test.rb +13 -13
- data/test/cases/active_support_test.rb +7 -7
- data/test/cases/mini_shoulda_test.rb +3 -3
- 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 -1
- data/test/dummy_app/app/mailers/user_mailer.rb +1 -1
- data/test/dummy_app/init.rb +5 -12
- data/test/dummy_app/tmp/development_secret.txt +1 -0
- data/test/dummy_tests/application_controller_test.rb +19 -19
- data/test/dummy_tests/foos_helper_test.rb +2 -2
- data/test/dummy_tests/integration_test.rb +3 -3
- data/test/dummy_tests/library_test.rb +3 -3
- data/test/dummy_tests/user_mailer_test.rb +20 -21
- data/test/dummy_tests/user_test.rb +15 -15
- data/test/dummy_tests/users_controller_test.rb +1 -1
- data/test/dummy_tests/users_helper_test.rb +15 -15
- data/test/support/shared_test_case_behavior.rb +0 -4
- data/test/test_helper.rb +1 -1
- metadata +49 -12
- data/gemfiles/rails_v5.1.x.gemfile +0 -8
- data/gemfiles/rails_v5.1.x.gemfile.lock +0 -130
- data/gemfiles/rails_v5.2.x.gemfile.lock +0 -136
data/test/dummy_app/init.rb
CHANGED
@@ -3,25 +3,19 @@ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __dir__)
|
|
3
3
|
require 'bundler/setup'
|
4
4
|
require 'rails/all'
|
5
5
|
Bundler.require(:default, Rails.env)
|
6
|
+
require 'minitest/focus'
|
7
|
+
require 'pry'
|
6
8
|
|
7
9
|
module Dummy
|
8
10
|
class Application < ::Rails::Application
|
9
11
|
# Basic Engine
|
10
12
|
config.root = File.join __FILE__, '..'
|
11
13
|
config.cache_store = :memory_store
|
12
|
-
config.assets.enabled = false
|
13
|
-
|
14
|
-
config.secret_key_base = '012345678901234567890123456789'
|
15
|
-
else
|
16
|
-
config.secret_token = '012345678901234567890123456789'
|
17
|
-
end
|
14
|
+
config.assets.enabled = false if Rails.version < '7.0.0'
|
15
|
+
config.secret_token = '012345678901234567890123456789'
|
18
16
|
config.active_support.test_order = :random
|
19
|
-
if config.active_record.sqlite3.respond_to?(:represent_boolean_as_integer)
|
20
|
-
config.active_record.sqlite3.represent_boolean_as_integer = true
|
21
|
-
end
|
22
|
-
|
23
17
|
# Mimic Test Environment Config.
|
24
|
-
config.whiny_nils = true
|
18
|
+
config.whiny_nils = true
|
25
19
|
config.consider_all_requests_local = true
|
26
20
|
config.action_controller.perform_caching = false
|
27
21
|
config.action_dispatch.show_exceptions = false
|
@@ -33,7 +27,6 @@ module Dummy
|
|
33
27
|
config.dependency_loading = true
|
34
28
|
config.preload_frameworks = true
|
35
29
|
config.eager_load = true
|
36
|
-
|
37
30
|
# Custom
|
38
31
|
config.minitest_spec_rails.mini_shoulda = true
|
39
32
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
f45200b1a337dea2b5a19a5ff07a057008eabe34dd706a01bd3c7f8b744e2d094f3fa3cd681d7d8aeb0a317d65cc26749c11acdada6684dc092e6bdc928c0884
|
@@ -7,26 +7,26 @@ module ApplicationControllerTests
|
|
7
7
|
|
8
8
|
it 'works' do
|
9
9
|
get :index
|
10
|
-
response.body.must_equal '<h1>Rendered
|
10
|
+
expect(response.body).must_equal '<h1>Rendered Minitest::Spec</h1>'
|
11
11
|
end
|
12
12
|
|
13
13
|
it 'allows custom assertions' do
|
14
|
-
assert_select 'h1', text: 'Rendered
|
14
|
+
assert_select 'h1', text: 'Rendered Minitest::Spec'
|
15
15
|
end
|
16
16
|
|
17
17
|
it 'can find the controller_class' do
|
18
|
-
self.class.controller_class.must_equal ApplicationController
|
18
|
+
expect(self.class.controller_class).must_equal ApplicationController
|
19
19
|
end
|
20
20
|
|
21
21
|
it 'can access the setup ivars' do
|
22
|
-
@controller.must_be_kind_of ApplicationController
|
22
|
+
expect(@controller).must_be_kind_of ApplicationController
|
23
23
|
end
|
24
24
|
|
25
25
|
describe 'nested 1' do
|
26
26
|
it('works') { skip }
|
27
27
|
|
28
28
|
it 'can find the controller_class' do
|
29
|
-
self.class.controller_class.must_equal ApplicationController
|
29
|
+
expect(self.class.controller_class).must_equal ApplicationController
|
30
30
|
end
|
31
31
|
|
32
32
|
describe 'nested 2' do
|
@@ -39,18 +39,18 @@ end
|
|
39
39
|
class ApplicationControllerTest < ActionController::TestCase
|
40
40
|
include ApplicationControllerTests
|
41
41
|
it 'reflects' do
|
42
|
-
described_class.must_equal ApplicationController
|
43
|
-
self.class.described_class.must_equal ApplicationController
|
42
|
+
expect(described_class).must_equal ApplicationController
|
43
|
+
expect(self.class.described_class).must_equal ApplicationController
|
44
44
|
end
|
45
45
|
describe 'level 1' do
|
46
46
|
it 'reflects' do
|
47
|
-
described_class.must_equal ApplicationController
|
48
|
-
self.class.described_class.must_equal ApplicationController
|
47
|
+
expect(described_class).must_equal ApplicationController
|
48
|
+
expect(self.class.described_class).must_equal ApplicationController
|
49
49
|
end
|
50
50
|
describe 'level 2' do
|
51
51
|
it 'reflects' do
|
52
|
-
described_class.must_equal ApplicationController
|
53
|
-
self.class.described_class.must_equal ApplicationController
|
52
|
+
expect(described_class).must_equal ApplicationController
|
53
|
+
expect(self.class.described_class).must_equal ApplicationController
|
54
54
|
end
|
55
55
|
end
|
56
56
|
end
|
@@ -59,22 +59,22 @@ end
|
|
59
59
|
describe ApplicationController do
|
60
60
|
include ApplicationControllerTests
|
61
61
|
it 'class reflects' do
|
62
|
-
described_class.must_equal ApplicationController
|
63
|
-
self.class.described_class.must_equal ApplicationController
|
62
|
+
expect(described_class).must_equal ApplicationController
|
63
|
+
expect(self.class.described_class).must_equal ApplicationController
|
64
64
|
end
|
65
65
|
it 'reflects' do
|
66
|
-
described_class.must_equal ApplicationController
|
67
|
-
self.class.described_class.must_equal ApplicationController
|
66
|
+
expect(described_class).must_equal ApplicationController
|
67
|
+
expect(self.class.described_class).must_equal ApplicationController
|
68
68
|
end
|
69
69
|
describe 'level 1' do
|
70
70
|
it 'reflects' do
|
71
|
-
described_class.must_equal ApplicationController
|
72
|
-
self.class.described_class.must_equal ApplicationController
|
71
|
+
expect(described_class).must_equal ApplicationController
|
72
|
+
expect(self.class.described_class).must_equal ApplicationController
|
73
73
|
end
|
74
74
|
describe 'level 2' do
|
75
75
|
it 'reflects' do
|
76
|
-
described_class.must_equal ApplicationController
|
77
|
-
self.class.described_class.must_equal ApplicationController
|
76
|
+
expect(described_class).must_equal ApplicationController
|
77
|
+
expect(self.class.described_class).must_equal ApplicationController
|
78
78
|
end
|
79
79
|
end
|
80
80
|
end
|
@@ -2,8 +2,8 @@ require 'test_helper_dummy'
|
|
2
2
|
|
3
3
|
class FoosHelperTest < ActionView::TestCase
|
4
4
|
it 'allows path and url helpers' do
|
5
|
-
users_path_helper.must_equal '/users'
|
6
|
-
users_url_helper.must_equal 'http://test.host/users'
|
5
|
+
expect(users_path_helper).must_equal '/users'
|
6
|
+
expect(users_url_helper).must_equal 'http://test.host/users'
|
7
7
|
end
|
8
8
|
|
9
9
|
describe 'level1' do
|
@@ -7,7 +7,7 @@ module IntegrationTests
|
|
7
7
|
|
8
8
|
it 'works' do
|
9
9
|
get root_path
|
10
|
-
status.must_equal 200
|
10
|
+
expect(status).must_equal 200
|
11
11
|
end
|
12
12
|
|
13
13
|
it 'works with assert_routing' do
|
@@ -15,14 +15,14 @@ module IntegrationTests
|
|
15
15
|
end
|
16
16
|
|
17
17
|
it 'can find the app' do
|
18
|
-
app.must_be_instance_of Dummy::Application
|
18
|
+
expect(app).must_be_instance_of Dummy::Application
|
19
19
|
end
|
20
20
|
|
21
21
|
describe 'nested 1' do
|
22
22
|
it('works') { skip }
|
23
23
|
|
24
24
|
it 'can find the app' do
|
25
|
-
app.must_be_instance_of Dummy::Application
|
25
|
+
expect(app).must_be_instance_of Dummy::Application
|
26
26
|
end
|
27
27
|
|
28
28
|
describe 'nested 2' do
|
@@ -3,13 +3,13 @@ require "#{Dummy::Application.root}/lib/library"
|
|
3
3
|
|
4
4
|
class LibraryTest < ActiveSupport::TestCase
|
5
5
|
it 'reflects' do
|
6
|
-
described_class.must_equal Library
|
6
|
+
expect(described_class).must_equal Library
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
10
|
describe Library do
|
11
11
|
it 'reflects' do
|
12
|
-
described_class.must_equal Library
|
13
|
-
self.class.described_class.must_equal Library
|
12
|
+
expect(described_class).must_equal Library
|
13
|
+
expect(self.class.described_class).must_equal Library
|
14
14
|
end
|
15
15
|
end
|
@@ -7,18 +7,17 @@ module UserMailerTests
|
|
7
7
|
let(:user_mailer_class) { UserMailer }
|
8
8
|
let(:user_email) do
|
9
9
|
user_mailer_class.welcome(user_ken).tap do |mail|
|
10
|
-
|
11
|
-
laterable ? mail.deliver_now : mail.deliver
|
10
|
+
mail.deliver_now
|
12
11
|
end
|
13
12
|
end
|
14
13
|
|
15
14
|
it 'works' do
|
16
|
-
deliveries.must_be :empty?
|
15
|
+
expect(deliveries).must_be :empty?
|
17
16
|
user_email
|
18
|
-
deliveries.wont_be :empty?
|
19
|
-
user_email.to.must_equal [user_ken.email]
|
20
|
-
user_email.from.must_equal ['rails@minitest.spec']
|
21
|
-
user_email.body.encoded.must_equal "Welcome to
|
17
|
+
expect(deliveries).wont_be :empty?
|
18
|
+
expect(user_email.to).must_equal [user_ken.email]
|
19
|
+
expect(user_email.from).must_equal ['rails@minitest.spec']
|
20
|
+
expect(user_email.body.encoded).must_equal "Welcome to Minitest::Spec #{user_ken.email}!"
|
22
21
|
end
|
23
22
|
|
24
23
|
it 'allows custom assertions' do
|
@@ -26,14 +25,14 @@ module UserMailerTests
|
|
26
25
|
end
|
27
26
|
|
28
27
|
it 'can find the mailer_class' do
|
29
|
-
self.class.mailer_class.must_equal user_mailer_class
|
28
|
+
expect(self.class.mailer_class).must_equal user_mailer_class
|
30
29
|
end
|
31
30
|
|
32
31
|
describe 'nested 1' do
|
33
32
|
it('works') { skip }
|
34
33
|
|
35
34
|
it 'can find the mailer_class' do
|
36
|
-
self.class.mailer_class.must_equal user_mailer_class
|
35
|
+
expect(self.class.mailer_class).must_equal user_mailer_class
|
37
36
|
end
|
38
37
|
|
39
38
|
describe 'nested 2' do
|
@@ -46,18 +45,18 @@ end
|
|
46
45
|
class UserMailerTest < ActionMailer::TestCase
|
47
46
|
include UserMailerTests
|
48
47
|
it 'reflects' do
|
49
|
-
described_class.must_equal UserMailer
|
50
|
-
self.class.described_class.must_equal UserMailer
|
48
|
+
expect(described_class).must_equal UserMailer
|
49
|
+
expect(self.class.described_class).must_equal UserMailer
|
51
50
|
end
|
52
51
|
describe 'level 1' do
|
53
52
|
it 'reflects' do
|
54
|
-
described_class.must_equal UserMailer
|
55
|
-
self.class.described_class.must_equal UserMailer
|
53
|
+
expect(described_class).must_equal UserMailer
|
54
|
+
expect(self.class.described_class).must_equal UserMailer
|
56
55
|
end
|
57
56
|
describe 'level 2' do
|
58
57
|
it 'reflects' do
|
59
|
-
described_class.must_equal UserMailer
|
60
|
-
self.class.described_class.must_equal UserMailer
|
58
|
+
expect(described_class).must_equal UserMailer
|
59
|
+
expect(self.class.described_class).must_equal UserMailer
|
61
60
|
end
|
62
61
|
end
|
63
62
|
end
|
@@ -66,18 +65,18 @@ end
|
|
66
65
|
describe UserMailer do
|
67
66
|
include UserMailerTests
|
68
67
|
it 'reflects' do
|
69
|
-
described_class.must_equal UserMailer
|
70
|
-
self.class.described_class.must_equal UserMailer
|
68
|
+
expect(described_class).must_equal UserMailer
|
69
|
+
expect(self.class.described_class).must_equal UserMailer
|
71
70
|
end
|
72
71
|
describe 'level 1' do
|
73
72
|
it 'reflects' do
|
74
|
-
described_class.must_equal UserMailer
|
75
|
-
self.class.described_class.must_equal UserMailer
|
73
|
+
expect(described_class).must_equal UserMailer
|
74
|
+
expect(self.class.described_class).must_equal UserMailer
|
76
75
|
end
|
77
76
|
describe 'level 2' do
|
78
77
|
it 'reflects' do
|
79
|
-
described_class.must_equal UserMailer
|
80
|
-
self.class.described_class.must_equal UserMailer
|
78
|
+
expect(described_class).must_equal UserMailer
|
79
|
+
expect(self.class.described_class).must_equal UserMailer
|
81
80
|
end
|
82
81
|
end
|
83
82
|
end
|
@@ -4,11 +4,11 @@ module UserTests
|
|
4
4
|
extend ActiveSupport::Concern
|
5
5
|
included do
|
6
6
|
it 'works' do
|
7
|
-
user_ken.must_be_instance_of User
|
7
|
+
expect(user_ken).must_be_instance_of User
|
8
8
|
end
|
9
9
|
|
10
10
|
test 'works with test' do
|
11
|
-
user_ken.must_be_instance_of User
|
11
|
+
expect(user_ken).must_be_instance_of User
|
12
12
|
end
|
13
13
|
|
14
14
|
it 'allows custom assertions' do
|
@@ -23,7 +23,7 @@ module UserTests
|
|
23
23
|
end
|
24
24
|
|
25
25
|
test 'works with test' do
|
26
|
-
user_ken.must_be_instance_of User
|
26
|
+
expect(user_ken).must_be_instance_of User
|
27
27
|
end
|
28
28
|
end
|
29
29
|
end
|
@@ -32,18 +32,18 @@ end
|
|
32
32
|
class UserTest < ActiveSupport::TestCase
|
33
33
|
include UserTests
|
34
34
|
it 'reflects' do
|
35
|
-
described_class.must_equal User
|
36
|
-
self.class.described_class.must_equal User
|
35
|
+
expect(described_class).must_equal User
|
36
|
+
expect(self.class.described_class).must_equal User
|
37
37
|
end
|
38
38
|
describe 'level 1' do
|
39
39
|
it 'reflects' do
|
40
|
-
described_class.must_equal User
|
41
|
-
self.class.described_class.must_equal User
|
40
|
+
expect(described_class).must_equal User
|
41
|
+
expect(self.class.described_class).must_equal User
|
42
42
|
end
|
43
43
|
describe 'level 2' do
|
44
44
|
it 'reflects' do
|
45
|
-
described_class.must_equal User
|
46
|
-
self.class.described_class.must_equal User
|
45
|
+
expect(described_class).must_equal User
|
46
|
+
expect(self.class.described_class).must_equal User
|
47
47
|
end
|
48
48
|
end
|
49
49
|
end
|
@@ -52,18 +52,18 @@ end
|
|
52
52
|
describe User do
|
53
53
|
include UserTests
|
54
54
|
it 'reflects' do
|
55
|
-
described_class.must_equal User
|
56
|
-
self.class.described_class.must_equal User
|
55
|
+
expect(described_class).must_equal User
|
56
|
+
expect(self.class.described_class).must_equal User
|
57
57
|
end
|
58
58
|
describe 'level 1' do
|
59
59
|
it 'reflects' do
|
60
|
-
described_class.must_equal User
|
61
|
-
self.class.described_class.must_equal User
|
60
|
+
expect(described_class).must_equal User
|
61
|
+
expect(self.class.described_class).must_equal User
|
62
62
|
end
|
63
63
|
describe 'level 2' do
|
64
64
|
it 'reflects' do
|
65
|
-
described_class.must_equal User
|
66
|
-
self.class.described_class.must_equal User
|
65
|
+
expect(described_class).must_equal User
|
66
|
+
expect(self.class.described_class).must_equal User
|
67
67
|
end
|
68
68
|
end
|
69
69
|
end
|
@@ -9,18 +9,18 @@ module UsersHelperTests
|
|
9
9
|
|
10
10
|
it 'works' do
|
11
11
|
user_ken
|
12
|
-
users_list.must_equal "<ul><li>#{user_ken.email}</li></ul>"
|
12
|
+
expect(users_list).must_equal "<ul><li>#{user_ken.email}</li></ul>"
|
13
13
|
end
|
14
14
|
|
15
15
|
it 'can find the helper_class' do
|
16
|
-
self.class.helper_class.must_equal UsersHelper
|
16
|
+
expect(self.class.helper_class).must_equal UsersHelper
|
17
17
|
end
|
18
18
|
|
19
19
|
describe 'nested 1' do
|
20
20
|
it('works') { skip }
|
21
21
|
|
22
22
|
it 'can find the helper_class' do
|
23
|
-
self.class.helper_class.must_equal UsersHelper
|
23
|
+
expect(self.class.helper_class).must_equal UsersHelper
|
24
24
|
end
|
25
25
|
|
26
26
|
describe 'nested 2' do
|
@@ -33,18 +33,18 @@ end
|
|
33
33
|
class UsersHelperTest < ActionView::TestCase
|
34
34
|
include UsersHelperTests
|
35
35
|
it 'reflects' do
|
36
|
-
described_class.must_equal UsersHelper
|
37
|
-
self.class.described_class.must_equal UsersHelper
|
36
|
+
expect(described_class).must_equal UsersHelper
|
37
|
+
expect(self.class.described_class).must_equal UsersHelper
|
38
38
|
end
|
39
39
|
describe 'level 1' do
|
40
40
|
it 'reflects' do
|
41
|
-
described_class.must_equal UsersHelper
|
42
|
-
self.class.described_class.must_equal UsersHelper
|
41
|
+
expect(described_class).must_equal UsersHelper
|
42
|
+
expect(self.class.described_class).must_equal UsersHelper
|
43
43
|
end
|
44
44
|
describe 'level 2' do
|
45
45
|
it 'reflects' do
|
46
|
-
described_class.must_equal UsersHelper
|
47
|
-
self.class.described_class.must_equal UsersHelper
|
46
|
+
expect(described_class).must_equal UsersHelper
|
47
|
+
expect(self.class.described_class).must_equal UsersHelper
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
@@ -53,18 +53,18 @@ end
|
|
53
53
|
describe UsersHelper do
|
54
54
|
include UsersHelperTests
|
55
55
|
it 'reflects' do
|
56
|
-
described_class.must_equal UsersHelper
|
57
|
-
self.class.described_class.must_equal UsersHelper
|
56
|
+
expect(described_class).must_equal UsersHelper
|
57
|
+
expect(self.class.described_class).must_equal UsersHelper
|
58
58
|
end
|
59
59
|
describe 'level 1' do
|
60
60
|
it 'reflects' do
|
61
|
-
described_class.must_equal UsersHelper
|
62
|
-
self.class.described_class.must_equal UsersHelper
|
61
|
+
expect(described_class).must_equal UsersHelper
|
62
|
+
expect(self.class.described_class).must_equal UsersHelper
|
63
63
|
end
|
64
64
|
describe 'level 2' do
|
65
65
|
it 'reflects' do
|
66
|
-
described_class.must_equal UsersHelper
|
67
|
-
self.class.described_class.must_equal UsersHelper
|
66
|
+
expect(described_class).must_equal UsersHelper
|
67
|
+
expect(self.class.described_class).must_equal UsersHelper
|
68
68
|
end
|
69
69
|
end
|
70
70
|
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-spec-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 7.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Collins
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -52,6 +52,34 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: minitest-focus
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
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
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
55
83
|
- !ruby/object:Gem::Dependency
|
56
84
|
name: rake
|
57
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +110,7 @@ dependencies:
|
|
82
110
|
version: '0'
|
83
111
|
description: |-
|
84
112
|
The minitest-spec-rails gem makes it easy to use the \
|
85
|
-
|
113
|
+
Minitest::Spec DSL within your existing Rails test suite.
|
86
114
|
email:
|
87
115
|
- ken@metaskills.net
|
88
116
|
executables: []
|
@@ -99,15 +127,16 @@ files:
|
|
99
127
|
- MIT-LICENSE
|
100
128
|
- README.md
|
101
129
|
- Rakefile
|
102
|
-
- gemfiles/rails_v5.1.x.gemfile
|
103
|
-
- gemfiles/rails_v5.1.x.gemfile.lock
|
104
|
-
- gemfiles/rails_v5.2.x.gemfile
|
105
|
-
- gemfiles/rails_v5.2.x.gemfile.lock
|
106
130
|
- gemfiles/rails_v6.0.x.gemfile
|
107
131
|
- gemfiles/rails_v6.0.x.gemfile.lock
|
132
|
+
- gemfiles/rails_v6.1.x.gemfile
|
133
|
+
- gemfiles/rails_v6.1.x.gemfile.lock
|
108
134
|
- gemfiles/rails_v7.0.x.gemfile
|
135
|
+
- gemfiles/rails_v7.0.x.gemfile.lock
|
136
|
+
- gemfiles/rails_v7.1.x.gemfile
|
109
137
|
- lib/minitest-spec-rails.rb
|
110
138
|
- lib/minitest-spec-rails/dsl.rb
|
139
|
+
- lib/minitest-spec-rails/init/action_cable.rb
|
111
140
|
- lib/minitest-spec-rails/init/action_controller.rb
|
112
141
|
- lib/minitest-spec-rails/init/action_dispatch.rb
|
113
142
|
- lib/minitest-spec-rails/init/action_mailer.rb
|
@@ -119,6 +148,7 @@ files:
|
|
119
148
|
- lib/minitest-spec-rails/railtie.rb
|
120
149
|
- lib/minitest-spec-rails/version.rb
|
121
150
|
- minitest-spec-rails.gemspec
|
151
|
+
- test/cases/action_cable_test.rb
|
122
152
|
- test/cases/action_controller_test.rb
|
123
153
|
- test/cases/action_dispatch_test.rb
|
124
154
|
- test/cases/action_mailer_test.rb
|
@@ -127,6 +157,8 @@ files:
|
|
127
157
|
- test/cases/active_support_test.rb
|
128
158
|
- test/cases/mini_shoulda_test.rb
|
129
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
|
130
162
|
- test/dummy_app/app/controllers/application_controller.rb
|
131
163
|
- test/dummy_app/app/controllers/users_controller.rb
|
132
164
|
- test/dummy_app/app/helpers/application_helper.rb
|
@@ -142,6 +174,7 @@ files:
|
|
142
174
|
- test/dummy_app/init.rb
|
143
175
|
- test/dummy_app/lib/library.rb
|
144
176
|
- test/dummy_app/tmp/.gitkeep
|
177
|
+
- test/dummy_app/tmp/development_secret.txt
|
145
178
|
- test/dummy_tests/application_controller_test.rb
|
146
179
|
- test/dummy_tests/foos_helper_test.rb
|
147
180
|
- test/dummy_tests/integration_test.rb
|
@@ -158,7 +191,7 @@ homepage: http://github.com/metaskills/minitest-spec-rails
|
|
158
191
|
licenses:
|
159
192
|
- MIT
|
160
193
|
metadata: {}
|
161
|
-
post_install_message:
|
194
|
+
post_install_message:
|
162
195
|
rdoc_options: []
|
163
196
|
require_paths:
|
164
197
|
- lib
|
@@ -173,11 +206,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
206
|
- !ruby/object:Gem::Version
|
174
207
|
version: '0'
|
175
208
|
requirements: []
|
176
|
-
rubygems_version: 3.
|
177
|
-
signing_key:
|
209
|
+
rubygems_version: 3.4.6
|
210
|
+
signing_key:
|
178
211
|
specification_version: 4
|
179
|
-
summary: Make Rails Use
|
212
|
+
summary: Make Rails Use Minitest::Spec!
|
180
213
|
test_files:
|
214
|
+
- test/cases/action_cable_test.rb
|
181
215
|
- test/cases/action_controller_test.rb
|
182
216
|
- test/cases/action_dispatch_test.rb
|
183
217
|
- test/cases/action_mailer_test.rb
|
@@ -186,6 +220,8 @@ test_files:
|
|
186
220
|
- test/cases/active_support_test.rb
|
187
221
|
- test/cases/mini_shoulda_test.rb
|
188
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
|
189
225
|
- test/dummy_app/app/controllers/application_controller.rb
|
190
226
|
- test/dummy_app/app/controllers/users_controller.rb
|
191
227
|
- test/dummy_app/app/helpers/application_helper.rb
|
@@ -201,6 +237,7 @@ test_files:
|
|
201
237
|
- test/dummy_app/init.rb
|
202
238
|
- test/dummy_app/lib/library.rb
|
203
239
|
- test/dummy_app/tmp/.gitkeep
|
240
|
+
- test/dummy_app/tmp/development_secret.txt
|
204
241
|
- test/dummy_tests/application_controller_test.rb
|
205
242
|
- test/dummy_tests/foos_helper_test.rb
|
206
243
|
- test/dummy_tests/integration_test.rb
|