Remove new planting button spec

because it's in the button bar now
This commit is contained in:
Brenda Wallace
2019-01-23 15:01:34 +13:00
parent 066eaab1c2
commit 7779f7ec05

View File

@@ -31,15 +31,4 @@ describe "gardens/show" do
it 'shows plantings on the garden page' do
expect(rendered).to have_content @planting.crop.name
end
context 'signed in' do
before :each do
sign_in @owner
render
end
it "links to the right crop in the planting link" do
assert_select("a[href='#{new_planting_path}?garden_id=#{@garden.id}']")
end
end
end