lib/rubocop/cop/rspec/repeated_example.rb in rubocop-rspec-2.28.0 vs lib/rubocop/cop/rspec/repeated_example.rb in rubocop-rspec-2.29.0
- old
+ new
@@ -5,16 +5,16 @@
module RSpec
# Check for repeated examples within example groups.
#
# @example
#
- # it 'is valid' do
- # expect(user).to be_valid
- # end
+ # it 'is valid' do
+ # expect(user).to be_valid
+ # end
#
- # it 'validates the user' do
- # expect(user).to be_valid
- # end
+ # it 'validates the user' do
+ # expect(user).to be_valid
+ # end
#
class RepeatedExample < Base
MSG = "Don't repeat examples within an example group."
def on_block(node) # rubocop:disable InternalAffairs/NumblockHandler