Removed extra blank lines

This commit is contained in:
Brenda Wallace
2018-01-29 13:01:49 +13:00
parent 767477df66
commit b2cf022522
6 changed files with 0 additions and 6 deletions

View File

@@ -196,7 +196,6 @@ feature "crop detail page", js: true do
end
end
context 'predictions' do
let!(:planting) do
FactoryBot.create(:planting, crop: crop,

View File

@@ -10,7 +10,6 @@ feature "Seeds", :js do
let(:member) { FactoryBot.create :member }
let!(:seed) { FactoryBot.create :seed, owner: member }
it { is_expected.to have_content 'Add photo' }
# context 'no photos' do

View File

@@ -285,7 +285,6 @@ describe Crop do
let(:crop1_planting) { crop1.plantings.first }
let(:crop2_planting) { crop2.plantings.first }
describe 'lists interesting crops' do
before do
# they need 3+ plantings each to be interesting

View File

@@ -8,7 +8,6 @@ describe Role do
end
let(:member) { FactoryBot.create(:member) }
it 'has members' do
subject.members.first.should eq member
end

View File

@@ -4,7 +4,6 @@ describe "crops/_planting_advice" do
subject { rendered }
let(:planting) { FactoryBot.create(:planting) }
shared_examples "render planting_advice" do
before { render 'crops/planting_advice', crop: planting.crop }
end

View File

@@ -11,7 +11,6 @@ describe "harvests/show" do
render
end
describe "renders attributes" do
it { is_expected.to have_content harvest.crop.name }
it { is_expected.to have_content harvest.harvested_at.to_s }