Merge pull request #4354 from Growstuff/fix-crops-show-spec

Fix crops/show view spec
This commit is contained in:
Daniel O'Connor authored and GitHub committed 2025-12-01 19:42:56 +10:30
commit 4de062838b
1 file changed
+1
+1
View File
@@ -12,6 +12,7 @@ describe "crops/show" do
@current_member = @member
@harvest = FactoryBot.create(:harvest, owner: @member)
controller.stub(:current_user) { @member }
assign(:version_members, {})
end
it "hides sunniness block if no sunniness" do