Added Models App, Installation Batch Installation

This commit is contained in:
Ernest Sankeshwar
2015-11-13 15:03:29 +00:00
parent cffea0c31d
commit 5a81168161
15 changed files with 147 additions and 1 deletions

7
spec/factories/app.rb Normal file
View File

@@ -0,0 +1,7 @@
FactoryGirl.define do
factory :app do
name "My Ultimate Application"
package_name "my.ultimate.application"
end
end

View File

@@ -0,0 +1,6 @@
FactoryGirl.define do
factory :batch_installation do
app_id 1
end
end

View File

@@ -0,0 +1,8 @@
FactoryGirl.define do
factory :installation do
device_id 1
batch_installation_id 1
status 1
end
end