mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-29 20:25:09 -04:00
mark test as javascript
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe "crops/show" do
|
||||
describe "crops/show", :js do
|
||||
|
||||
before do
|
||||
@crop = FactoryBot.create(:maize)
|
||||
@posts = []
|
||||
@@ -44,4 +45,3 @@ describe "crops/show" do
|
||||
expect(rendered).to have_content "Harvested for"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user