mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 21:56:55 -04:00
Help view spec find the correct template
This commit is contained in:
committed by
Brenda Wallace
parent
b1b2661682
commit
f2b385bd5e
@@ -2,7 +2,7 @@
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe "crops/index" do
|
||||
describe "crops/index.html.haml" do
|
||||
before do
|
||||
controller.stub(:current_user) { nil }
|
||||
page = 1
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe "harvests/index" do
|
||||
describe "harvests/index.html.haml" do
|
||||
before do
|
||||
controller.stub(:current_user) { nil }
|
||||
@member = FactoryBot.create(:member)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe "plantings/index" do
|
||||
describe "plantings/index.html.haml" do
|
||||
let(:member) { FactoryBot.create(:member) }
|
||||
let(:garden) { FactoryBot.create(:garden, owner: member) }
|
||||
let(:tomato) { FactoryBot.create(:tomato, name: 'tomato') }
|
||||
|
||||
Reference in New Issue
Block a user