mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-13 02:35:22 -04:00
actions menu is a link, not a button. fix spec
This commit is contained in:
@@ -35,7 +35,7 @@ describe "crop wranglers", js: true do
|
||||
describe "visiting a crop can see wrangler links" do
|
||||
before do
|
||||
visit crop_path(crops.first)
|
||||
click_button 'Actions'
|
||||
click_link 'Actions'
|
||||
end
|
||||
|
||||
it { expect(page).to have_content 'You are a CROP WRANGLER' }
|
||||
|
||||
Reference in New Issue
Block a user