menu, table,rooms, orders structure
This commit is contained in:
7
spec/models/menu_item_attribute_spec.rb
Normal file
7
spec/models/menu_item_attribute_spec.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe MenuItemAttribute, type: :model do
|
||||
it { should validate_presence_of(:attribute_type) }
|
||||
it { should validate_presence_of(:name) }
|
||||
it { should validate_presence_of(:value) }
|
||||
end
|
||||
Reference in New Issue
Block a user