mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-10-23 07:18:22 -04:00
Add someone else's plantings, to ensure test is valid
This commit is contained in:
1 parent
909ce99ab8
commit
6af61d0e86
1 file changed
+1
@@ -68,6 +68,7 @@ RSpec.describe CropSearchService, type: :service do
|
||||
describe "biased to crops you've planted" do
|
||||
let(:owner) { FactoryBot.create :member }
|
||||
before do
|
||||
FactoryBot.create_list :planting, 10, crop: brown
|
||||
FactoryBot.create :planting, crop: oyster, owner: owner
|
||||
FactoryBot.create :planting, crop: oyster, owner: owner
|
||||
FactoryBot.create :planting, crop: shitake, owner: owner
|
||||
|
||||
Reference in new issue
Block a user