mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 10:14:59 +00:00
Added Models App, Installation Batch Installation
This commit is contained in:
11
spec/models/app.rb
Normal file
11
spec/models/app.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
require 'rails_helper'
|
||||
|
||||
RSpec.describe App, type: :model do
|
||||
pending "add some examples to (or delete) #{__FILE__}"
|
||||
|
||||
let!(:app) { create(:app) }
|
||||
|
||||
it { should validate_presence_of :name }
|
||||
it { should validate_presence_of :package_name }
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user