From cb680a5a0eec958b38bbad1ea6be0806eb9f1795 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sat, 13 Apr 2019 12:09:47 +1200 Subject: [PATCH] Auto corrected by following Lint Ruby Space (#1917) --- spec/models/photo_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/models/photo_spec.rb b/spec/models/photo_spec.rb index b78718f5c..d71a6cd1c 100644 --- a/spec/models/photo_spec.rb +++ b/spec/models/photo_spec.rb @@ -146,12 +146,12 @@ describe Photo do seed.photos << seed_photo end - it { expect(Photo.by_model(Harvest)).to eq([ harvest_photo ]) } - it { expect(Photo.by_model(Planting)).to eq([ planting_photo ]) } - it { expect(Photo.by_model(Seed)).to eq([ seed_photo ]) } + it { expect(Photo.by_model(Harvest)).to eq([harvest_photo]) } + it { expect(Photo.by_model(Planting)).to eq([planting_photo]) } + it { expect(Photo.by_model(Seed)).to eq([seed_photo]) } - it { expect(Photo.by_crop(harvest_crop)).to eq([ harvest_photo ]) } - it { expect(Photo.by_crop(planting_crop)).to eq([ planting_photo ]) } - it { expect(Photo.by_crop(seed_crop)).to eq([ seed_photo ]) } + it { expect(Photo.by_crop(harvest_crop)).to eq([harvest_photo]) } + it { expect(Photo.by_crop(planting_crop)).to eq([planting_photo]) } + it { expect(Photo.by_crop(seed_crop)).to eq([seed_photo]) } end end