spec/rubocop/cop/rspec/pending_spec.rb in rubocop-rspec-1.31.0 vs spec/rubocop/cop/rspec/pending_spec.rb in rubocop-rspec-1.32.0

- old
+ new

@@ -80,9 +80,17 @@ ^^^^^^^^^^^^^^^^ Pending spec found. end RUBY end + it 'flags describe with skip symbol metadata' do + expect_offense(<<-RUBY) + RSpec.describe 'test', :skip do + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Pending spec found. + end + RUBY + end + it 'flags blocks with pending symbol metadata' do expect_offense(<<-RUBY) it 'test', :pending do ^^^^^^^^^^^^^^^^^^^ Pending spec found. end