summaryrefslogtreecommitdiff
path: root/spec/models/deployment_spec.rb
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-10-10 10:47:31 +0900
committerShinya Maeda <shinya@gitlab.com>2018-10-10 10:47:31 +0900
commit1f3f06668b273265a96f526039e139629959a890 (patch)
treefe509e38bb4f07922c4bc765d0663f226f999e10 /spec/models/deployment_spec.rb
parent4f49f54af5b49e28801f0934547ff3159161759b (diff)
downloadgitlab-ce-1f3f06668b273265a96f526039e139629959a890.tar.gz
Fix and add spec
Diffstat (limited to 'spec/models/deployment_spec.rb')
-rw-r--r--spec/models/deployment_spec.rb1
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) }