summaryrefslogtreecommitdiff
path: root/spec/factories
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories')
-rw-r--r--spec/factories/builds.rb3
-rw-r--r--spec/factories/commits.rb18
-rw-r--r--spec/factories/projects.rb5
-rw-r--r--spec/factories/runners.rb5
4 files changed, 21 insertions, 10 deletions
diff --git a/spec/factories/builds.rb b/spec/factories/builds.rb
index 92f9f05..bddf6eb 100644
--- a/spec/factories/builds.rb
+++ b/spec/factories/builds.rb
@@ -15,6 +15,9 @@
# coverage :float
# commands :text
# options :text
+# job_id :integer
+# name :string(255)
+# deploy :boolean default(FALSE)
#
# Read about factories at https://github.com/thoughtbot/factory_girl
diff --git a/spec/factories/commits.rb b/spec/factories/commits.rb
index 4779f37..1f4a383 100644
--- a/spec/factories/commits.rb
+++ b/spec/factories/commits.rb
@@ -2,14 +2,16 @@
#
# Table name: commits
#
-# id :integer not null, primary key
-# project_id :integer
-# ref :string(255)
-# sha :string(255)
-# before_sha :string(255)
-# push_data :text
-# created_at :datetime
-# updated_at :datetime
+# id :integer not null, primary key
+# project_id :integer
+# ref :string(255)
+# sha :string(255)
+# before_sha :string(255)
+# push_data :text
+# created_at :datetime
+# updated_at :datetime
+# tag :boolean default(FALSE)
+# yaml_errors :text
#
# Read about factories at https://github.com/thoughtbot/factory_girl
diff --git a/spec/factories/projects.rb b/spec/factories/projects.rb
index f6cef2d..fb5b563 100644
--- a/spec/factories/projects.rb
+++ b/spec/factories/projects.rb
@@ -4,12 +4,12 @@
#
# id :integer not null, primary key
# name :string(255) not null
-# timeout :integer default(1800), not null
+# timeout :integer default(3600), not null
# created_at :datetime
# updated_at :datetime
# token :string(255)
# default_ref :string(255)
-# path :string(255)
+# path :string(255)
# always_build :boolean default(FALSE), not null
# polling_interval :integer
# public :boolean default(FALSE), not null
@@ -22,6 +22,7 @@
# skip_refs :string(255)
# coverage_regex :string(255)
# shared_runners_enabled :boolean default(FALSE)
+# generated_yaml_config :text
#
# Read about factories at https://github.com/thoughtbot/factory_girl
diff --git a/spec/factories/runners.rb b/spec/factories/runners.rb
index 72d3e3d..20a80f0 100644
--- a/spec/factories/runners.rb
+++ b/spec/factories/runners.rb
@@ -10,6 +10,11 @@
# contacted_at :datetime
# active :boolean default(TRUE), not null
# is_shared :boolean default(FALSE)
+# name :string(255)
+# version :string(255)
+# revision :string(255)
+# platform :string(255)
+# architecture :string(255)
#
# Read about factories at https://github.com/thoughtbot/factory_girl