Clarify Voucher request spec not a controller spec

This commit is contained in:
Maikel Linke
2023-08-14 12:25:56 +10:00
parent 4b0e910dff
commit 160cdc7f8e

View File

@@ -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) }