Revert "Rubocop - auto corrections"

This reverts commit 39ea0d4882.
This commit is contained in:
Daniel O'Connor committed 2022-11-07 23:21:05 +10:30
1 parent 06c5e4b8e8
commit 89a2dda637
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -100,7 +100,7 @@ describe Garden do
it 'cleans up zero quantities' do
garden = FactoryBot.build(:garden, area: 0)
garden.area.should.zero?
garden.area.should == 0
end
it "doesn't allow non-numeric quantities" do
+2 -2
View File
@@ -36,7 +36,7 @@ describe Harvest do
it 'cleans up zero quantities' do
@harvest = FactoryBot.build(:harvest, quantity: 0)
@harvest.quantity.should.zero?
@harvest.quantity.should == 0
end
it "doesn't allow non-numeric quantities" do
@@ -90,7 +90,7 @@ describe Harvest do
it 'cleans up zero quantities' do
@harvest = FactoryBot.build(:harvest, weight_quantity: 0)
@harvest.weight_quantity.should.zero?
@harvest.weight_quantity.should == 0
end
it "doesn't allow non-numeric weight quantities" do