We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f1c306 commit 71a25a7Copy full SHA for 71a25a7
spec/models/partner_spec.rb
@@ -381,7 +381,7 @@
381
end
382
383
context "when partner only has distribution older than a 12 months" do
384
- let(:distribution) { create(:distribution, issued_at: 24.months.ago.beginning_of_day, partner: partner) }
+ let(:distribution) { create(:distribution, issued_at: (12.months.ago.beginning_of_day - 1.day), partner: partner) }
385
let(:disposable_diapers_item) { create(:item, base_item: create(:base_item, category: "Diapers - Childrens")) }
386
let(:cloth_diapers_item) { create(:item, base_item: create(:base_item, category: "Diapers - Cloth (Kids)")) }
387
let(:period_supplies_item) { create(:item, base_item: create(:base_item, category: "Menstrual Supplies/Items")) }
0 commit comments