From e54c13afe3c193011c5b7f5f855dade857044810 Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Sun, 14 Apr 2019 18:36:34 +0000 Subject: [PATCH] Auto corrected by following Lint Ruby RSpec/AlignLeftLetBrace --- spec/models/crop_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/models/crop_spec.rb b/spec/models/crop_spec.rb index cab5a4a9f..7217a6e78 100644 --- a/spec/models/crop_spec.rb +++ b/spec/models/crop_spec.rb @@ -142,7 +142,7 @@ describe Crop do shared_examples 'has default photo' do it { expect(Crop.has_photos).to include(crop) } end - let!(:crop) { FactoryBot.create :tomato } + let!(:crop) { FactoryBot.create :tomato } let(:member) { FactoryBot.create :member } context 'with a planting photo' do @@ -185,7 +185,7 @@ describe Crop do describe 'finding all photos' do let(:planting) { FactoryBot.create :planting, crop: crop } let(:harvest) { FactoryBot.create :harvest, crop: crop } - let(:seed) { FactoryBot.create :seed, crop: crop } + let(:seed) { FactoryBot.create :seed, crop: crop } before do # Add photos to all @@ -343,8 +343,8 @@ describe Crop do end let(:maize) { FactoryBot.create(:maize) } - let(:pp1) { FactoryBot.create(:plant_part) } - let(:pp2) { FactoryBot.create(:plant_part) } + let(:pp1) { FactoryBot.create(:plant_part) } + let(:pp2) { FactoryBot.create(:plant_part) } context "harvests" do let(:h1) { FactoryBot.create(:harvest, crop: maize, plant_part: pp1) }