From 7779f7ec05aae35aa6e286ecb2137dfc7fec09b2 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 23 Jan 2019 15:01:34 +1300 Subject: [PATCH] Remove new planting button spec because it's in the button bar now --- spec/views/gardens/show.html.haml_spec.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/spec/views/gardens/show.html.haml_spec.rb b/spec/views/gardens/show.html.haml_spec.rb index fd78ed08a..7451f26c8 100644 --- a/spec/views/gardens/show.html.haml_spec.rb +++ b/spec/views/gardens/show.html.haml_spec.rb @@ -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