File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 22
33## Master (Unreleased)
44
5+ ## 3.1.0 (2024-10-01)
6+
57- Add ` RSpec/StringAsInstanceDoubleConstant ` to check for and correct strings used as instance_doubles. ([ @corsonknowles ] )
68- Fix false-positive for ` RSpec/UnspecifiedException ` when a method is literally named ` raise_exception ` . ([ @aarestad ] )
79- Fix false-positive for ` RSpec/UnspecifiedException ` when ` not_to raise_error ` is used within a block. ([ @aarestad ] , [ @G-Rath ] )
Original file line number Diff line number Diff line change @@ -933,7 +933,7 @@ RSpec/StringAsInstanceDoubleConstant:
933933 Description : Do not use a string as `instance_double` constant.
934934 Enabled : pending
935935 Safe : false
936- VersionAdded : " <<next>> "
936+ VersionAdded : ' 3.1 '
937937 Reference : https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/StringAsInstanceDoubleConstant
938938
939939RSpec/StubbedMock :
Original file line number Diff line number Diff line change 11name : rubocop-rspec
22title : RuboCop RSpec
3- version : ~
3+ version : ' 3.1 '
44nav :
55 - modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change @@ -5501,7 +5501,7 @@ spec/models/user.rb # shared_examples_for 'foo'
55015501| Pending
55025502| No
55035503| Always (Unsafe)
5504- | <<next>>
5504+ | 3.1
55055505| -
55065506|===
55075507
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module RuboCop
44 module RSpec
55 # Version information for the RSpec RuboCop plugin.
66 module Version
7- STRING = '3.0.5 '
7+ STRING = '3.1.0 '
88 end
99 end
1010end
You can’t perform that action at this time.
0 commit comments