mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Clarify Voucher request spec not a controller spec
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
require "spec_helper"
|
||||
|
||||
describe Admin::VouchersController, type: :request do
|
||||
describe "/admin/enterprises/:enterprise_id/vouchers", type: :request do
|
||||
let(:enterprise) { create(:supplier_enterprise, name: "Feedme") }
|
||||
let(:enterprise_user) { create(:user, enterprise_limit: 1) }
|
||||
|
||||
Reference in New Issue
Block a user