diff --git a/spec/features/crops/crop_detail_page_spec.rb b/spec/features/crops/crop_detail_page_spec.rb index 0a28d875f..b7dca2e8d 100644 --- a/spec/features/crops/crop_detail_page_spec.rb +++ b/spec/features/crops/crop_detail_page_spec.rb @@ -196,7 +196,6 @@ feature "crop detail page", js: true do end end - context 'predictions' do let!(:planting) do FactoryBot.create(:planting, crop: crop, diff --git a/spec/features/seeds/seed_photos.rb b/spec/features/seeds/seed_photos.rb index 80fbf9bc3..7e26ece28 100644 --- a/spec/features/seeds/seed_photos.rb +++ b/spec/features/seeds/seed_photos.rb @@ -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 diff --git a/spec/models/crop_spec.rb b/spec/models/crop_spec.rb index 27521876a..3f49a249d 100644 --- a/spec/models/crop_spec.rb +++ b/spec/models/crop_spec.rb @@ -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 diff --git a/spec/models/role_spec.rb b/spec/models/role_spec.rb index 99c87701c..76e309aa0 100644 --- a/spec/models/role_spec.rb +++ b/spec/models/role_spec.rb @@ -8,7 +8,6 @@ describe Role do end let(:member) { FactoryBot.create(:member) } - it 'has members' do subject.members.first.should eq member end diff --git a/spec/views/crops/_planting_advice.html.haml_spec.rb b/spec/views/crops/_planting_advice.html.haml_spec.rb index 0229c23f0..12064a1b8 100644 --- a/spec/views/crops/_planting_advice.html.haml_spec.rb +++ b/spec/views/crops/_planting_advice.html.haml_spec.rb @@ -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 diff --git a/spec/views/harvests/show.html.haml_spec.rb b/spec/views/harvests/show.html.haml_spec.rb index f9295ac5f..4aec453ff 100644 --- a/spec/views/harvests/show.html.haml_spec.rb +++ b/spec/views/harvests/show.html.haml_spec.rb @@ -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 }