mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-02-05 23:21:07 -05:00
Remove new planting button spec
because it's in the button bar now
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user