diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/factories/builds.rb | 3 | ||||
| -rw-r--r-- | spec/factories/commits.rb | 18 | ||||
| -rw-r--r-- | spec/factories/projects.rb | 5 | ||||
| -rw-r--r-- | spec/factories/runners.rb | 5 | ||||
| -rw-r--r-- | spec/models/build_spec.rb | 3 | ||||
| -rw-r--r-- | spec/models/commit_spec.rb | 18 | ||||
| -rw-r--r-- | spec/models/project_services/hip_chat_service_spec.rb | 14 | ||||
| -rw-r--r-- | spec/models/project_spec.rb | 5 | ||||
| -rw-r--r-- | spec/models/runner_spec.rb | 5 |
9 files changed, 56 insertions, 20 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 diff --git a/spec/models/build_spec.rb b/spec/models/build_spec.rb index b7e9672..8bc9807 100644 --- a/spec/models/build_spec.rb +++ b/spec/models/build_spec.rb @@ -15,6 +15,9 @@ # coverage :float # commands :text # options :text +# job_id :integer +# name :string(255) +# deploy :boolean default(FALSE) # require 'spec_helper' diff --git a/spec/models/commit_spec.rb b/spec/models/commit_spec.rb index 76d3178..14d6d99 100644 --- a/spec/models/commit_spec.rb +++ b/spec/models/commit_spec.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 # require 'spec_helper' diff --git a/spec/models/project_services/hip_chat_service_spec.rb b/spec/models/project_services/hip_chat_service_spec.rb index 5642221..37ce490 100644 --- a/spec/models/project_services/hip_chat_service_spec.rb +++ b/spec/models/project_services/hip_chat_service_spec.rb @@ -1,3 +1,17 @@ +# == Schema Information +# +# Table name: services +# +# id :integer not null, primary key +# type :string(255) +# title :string(255) +# project_id :integer not null +# created_at :datetime +# updated_at :datetime +# active :boolean default(FALSE), not null +# properties :text +# + require 'spec_helper' diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index c27f05a..c15fa2b 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.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 # require 'spec_helper' diff --git a/spec/models/runner_spec.rb b/spec/models/runner_spec.rb index 6b90367..6902c0a 100644 --- a/spec/models/runner_spec.rb +++ b/spec/models/runner_spec.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) # require 'spec_helper' |
