mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 02:04:57 +00:00
Added Models App, Installation Batch Installation
This commit is contained in:
7
spec/factories/app.rb
Normal file
7
spec/factories/app.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
FactoryGirl.define do
|
||||
factory :app do
|
||||
name "My Ultimate Application"
|
||||
package_name "my.ultimate.application"
|
||||
end
|
||||
|
||||
end
|
||||
6
spec/factories/batch_installations.rb
Normal file
6
spec/factories/batch_installations.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
FactoryGirl.define do
|
||||
factory :batch_installation do
|
||||
app_id 1
|
||||
end
|
||||
|
||||
end
|
||||
8
spec/factories/installations.rb
Normal file
8
spec/factories/installations.rb
Normal file
@@ -0,0 +1,8 @@
|
||||
FactoryGirl.define do
|
||||
factory :installation do
|
||||
device_id 1
|
||||
batch_installation_id 1
|
||||
status 1
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user