diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-10-10 10:47:31 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-10-10 10:47:31 +0900 |
commit | 1f3f06668b273265a96f526039e139629959a890 (patch) | |
tree | fe509e38bb4f07922c4bc765d0663f226f999e10 /spec/models/deployment_spec.rb | |
parent | 4f49f54af5b49e28801f0934547ff3159161759b (diff) | |
download | gitlab-ce-1f3f06668b273265a96f526039e139629959a890.tar.gz |
Fix and add spec
Diffstat (limited to 'spec/models/deployment_spec.rb')
-rw-r--r-- | spec/models/deployment_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/deployment_spec.rb b/spec/models/deployment_spec.rb index b335e0fbeb3..86518c632df 100644 --- a/spec/models/deployment_spec.rb +++ b/spec/models/deployment_spec.rb @@ -12,6 +12,7 @@ describe Deployment do it { is_expected.to delegate_method(:commit).to(:project) } it { is_expected.to delegate_method(:commit_title).to(:commit).as(:try) } it { is_expected.to delegate_method(:manual_actions).to(:deployable).as(:try) } + it { is_expected.to delegate_method(:scheduled_actions).to(:deployable).as(:try) } it { is_expected.to validate_presence_of(:ref) } it { is_expected.to validate_presence_of(:sha) } |