mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-20 15:52:33 -04:00
Removed extra blank lines
This commit is contained in:
@@ -196,7 +196,6 @@ feature "crop detail page", js: true do
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
context 'predictions' do
|
||||
let!(:planting) do
|
||||
FactoryBot.create(:planting, crop: crop,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -8,7 +8,6 @@ describe Role do
|
||||
end
|
||||
let(:member) { FactoryBot.create(:member) }
|
||||
|
||||
|
||||
it 'has members' do
|
||||
subject.members.first.should eq member
|
||||
end
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user