diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2017-09-04 16:44:46 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2017-09-04 16:44:46 +0300 |
commit | bcd70c4c46ae71366580c7352ddb28075cdf0e60 (patch) | |
tree | e30f726916795791242669fe09160750712728eb /spec/models/project_auto_devops_spec.rb | |
parent | a346dbf0af5ce612b55b879cb9de7f3361058397 (diff) |
Incorporate review
Diffstat (limited to 'spec/models/project_auto_devops_spec.rb')
-rw-r--r-- | spec/models/project_auto_devops_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/models/project_auto_devops_spec.rb b/spec/models/project_auto_devops_spec.rb index d534dacf079..08cb7c4c1b1 100644 --- a/spec/models/project_auto_devops_spec.rb +++ b/spec/models/project_auto_devops_spec.rb @@ -1,10 +1,12 @@ require 'spec_helper' -describe ProjectAutoDevops, type: :model do +describe ProjectAutoDevops do subject { build_stubbed(:project_auto_devops) } it { is_expected.to belong_to(:project) } + it { is_expected.to validate_presence_of(:domain) } + it { is_expected.to respond_to(:created_at) } it { is_expected.to respond_to(:updated_at) } |