spec/rubocop/cop/rspec/implicit_expect_spec.rb in rubocop-rspec-1.8.0 vs spec/rubocop/cop/rspec/implicit_expect_spec.rb in rubocop-rspec-1.9.0
- old
+ new
@@ -28,10 +28,10 @@
it 'approves of is_expected.to_not' do
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
include_examples 'detects style', 'it { should be_truthy }', 'should'
include_examples 'autocorrect',