mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-03 06:59:14 +00:00
Add EnterpriseFee model
This commit is contained in:
11
spec/models/enterprise_fee_spec.rb
Normal file
11
spec/models/enterprise_fee_spec.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe EnterpriseFee do
|
||||
describe "associations" do
|
||||
it { should belong_to(:enterprise) }
|
||||
end
|
||||
|
||||
describe "validations" do
|
||||
it { should validate_presence_of(:name) }
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user