mirror of
https://github.com/Growstuff/growstuff.git
synced 2025-12-23 17:47:49 -05:00
Adjust expectation
This commit is contained in:
@@ -605,7 +605,7 @@ describe Planting do
|
|||||||
|
|
||||||
before { described_class.reindex }
|
before { described_class.reindex }
|
||||||
|
|
||||||
it { expect(subject.count).to eq 2 }
|
it { expect(subject.count).to eq 3 }
|
||||||
it { expect(subject.map(&:id)).to eq([interesting_planting.id.to_s, finished_interesting_planting.id.to_s]) }
|
it { expect(subject.map(&:id)).to eq([interesting_planting.id.to_s, finished_interesting_planting.id.to_s, planting.id.to_s]) }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user