spec/rubocop/cop/rspec/described_class_spec.rb in rubocop-rspec-1.2.1 vs spec/rubocop/cop/rspec/described_class_spec.rb in rubocop-rspec-1.2.2

- old
+ new

@@ -84,10 +84,10 @@ .to eq(['Use `described_class` instead of `MyNamespace::MyClass`']) expect(cop.highlights).to eq(['MyNamespace::MyClass']) end it 'checks for the use of described class with module' do - pending 'TODO' + skip inspect_source(cop, ['module MyNamespace', ' describe MyClass do', ' subject { MyNamespace::MyClass }', ' end', 'end'])