spec/rubocop/cop/rspec/subject_stub_spec.rb in rubocop-rspec-1.12.0 vs spec/rubocop/cop/rspec/subject_stub_spec.rb in rubocop-rspec-1.13.0
- old
+ new
@@ -1,7 +1,7 @@
# frozen_string_literal: true
-describe RuboCop::Cop::RSpec::SubjectStub do
+RSpec.describe RuboCop::Cop::RSpec::SubjectStub do
subject(:cop) { described_class.new }
it 'complains when subject is stubbed' do
expect_violation(<<-RUBY)
describe Foo do