Fix Rubocop offense

This commit is contained in:
Michael Kozono 2017-07-28 09:53:12 -07:00
parent 61239585c9
commit a459e45eac
1 changed files with 4 additions and 4 deletions

View File

@ -81,13 +81,13 @@ describe Backup::Repository do
end
it 'returns false, regardless of bad cache value' do
expect(Backup::Repository.new.send(:empty_repo?, wiki)).to be_falsey
expect(described_class.new.send(:empty_repo?, wiki)).to be_falsey
end
end
context '`repository.exists?` is correctly cached as true' do
it 'returns false' do
expect(Backup::Repository.new.send(:empty_repo?, wiki)).to be_falsey
expect(described_class.new.send(:empty_repo?, wiki)).to be_falsey
end
end
end
@ -102,13 +102,13 @@ describe Backup::Repository do
end
it 'returns true, regardless of bad cache value' do
expect(Backup::Repository.new.send(:empty_repo?, wiki)).to be_truthy
expect(described_class.new.send(:empty_repo?, wiki)).to be_truthy
end
end
context '`repository.exists?` is correctly cached as false' do
it 'returns true' do
expect(Backup::Repository.new.send(:empty_repo?, wiki)).to be_truthy
expect(described_class.new.send(:empty_repo?, wiki)).to be_truthy
end
end
end