File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
lib/rubocop/cop/rspec_rails Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ module RSpecRails
16
16
# allow(foo).to receive(:bar)
17
17
# end
18
18
#
19
- class AvoidSetupHook < ::RuboCop ::Cop ::RSpec :: Base
19
+ class AvoidSetupHook < ::RuboCop ::Cop ::Base
20
20
extend AutoCorrector
21
21
22
22
MSG = 'Use `before` instead of `setup`.'
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ module RSpecRails
57
57
# it { is_expected.to have_http_status :success }
58
58
# it { is_expected.to have_http_status :error }
59
59
#
60
- class HttpStatus < ::RuboCop ::Cop ::RSpec :: Base
60
+ class HttpStatus < ::RuboCop ::Cop ::Base
61
61
extend AutoCorrector
62
62
include ConfigurableEnforcedStyle
63
63
RESTRICT_ON_SEND = %i[ have_http_status ] . freeze
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module RSpecRails
29
29
# expect(a).to be(true)
30
30
# expect(a).to be(false)
31
31
#
32
- class MinitestAssertions < ::RuboCop ::Cop ::RSpec :: Base
32
+ class MinitestAssertions < ::RuboCop ::Cop ::Base
33
33
extend AutoCorrector
34
34
35
35
# :nodoc:
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ module RSpecRails
29
29
# # good (with method chain)
30
30
# expect(foo).to be_invalid.or be_even
31
31
#
32
- class NegationBeValid < ::RuboCop ::Cop ::RSpec :: Base
32
+ class NegationBeValid < ::RuboCop ::Cop ::Base
33
33
extend AutoCorrector
34
34
include ConfigurableEnforcedStyle
35
35
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ module RSpecRails
23
23
#
24
24
# # good
25
25
# before { freeze_time }
26
- class TravelAround < ::RuboCop ::Cop ::RSpec :: Base
26
+ class TravelAround < ::RuboCop ::Cop ::Base
27
27
extend AutoCorrector
28
28
29
29
MSG = 'Prefer to travel in `before` rather than `around`.'
You can’t perform that action at this time.
0 commit comments