Skip to content

Commit

Permalink
Fix repeated descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
backus committed Dec 26, 2016
1 parent 921b022 commit 099f523
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/rubocop/cop/rspec/described_class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ module MyModle
RUBY
end

it 'does not flag violations within a scope change' do
it 'does not flag violations within a class scope change' do
expect_no_violations(<<-RUBY)
describe MyNamespace::MyClass do
before do
Expand All @@ -172,7 +172,7 @@ class Foo
RUBY
end

it 'does not flag violations within a scope change' do
it 'does not flag violations within a hook scope change' do
expect_no_violations(<<-RUBY)
describe do
before do
Expand Down
2 changes: 1 addition & 1 deletion spec/rubocop/cop/rspec/implicit_expect_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
expect_no_violations('it { is_expected.to_not be_truthy }')
end

it 'approves of is_expected.to_not' do
it 'approves of is_expected.not_to' do
expect_no_violations('it { is_expected.not_to be_truthy }')
end

Expand Down

0 comments on commit 099f523

Please sign in to comment.