mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Spec EnterpriseFee tax_category association
Co-authored-by: David Cook <david@redcliffs.net>
This commit is contained in:
@@ -5,6 +5,7 @@ require 'spec_helper'
|
||||
describe EnterpriseFee do
|
||||
describe "associations" do
|
||||
it { is_expected.to belong_to(:enterprise).required }
|
||||
it { is_expected.to belong_to(:tax_category).optional }
|
||||
end
|
||||
|
||||
describe "validations" do
|
||||
|
||||
Reference in New Issue
Block a user