summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-01 17:18:34 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-06 16:12:24 -0600
commitb0279cc2239e0b24d59bc80085a9ba42fcf6226a (patch)
tree227111f56f6f334b3087e3cdf338c9f4cd0f4e26 /spec
parent67c6520ba2fd6269057dda3850bedeb36aede160 (diff)
downloadgitlab-ce-b0279cc2239e0b24d59bc80085a9ba42fcf6226a.tar.gz
Update outdated spec
Diffstat (limited to 'spec')
-rw-r--r--spec/models/environment_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/models/environment_spec.rb b/spec/models/environment_spec.rb
index 5884a2f26b9..cf6619dd726 100644
--- a/spec/models/environment_spec.rb
+++ b/spec/models/environment_spec.rb
@@ -7,8 +7,6 @@ describe Environment, models: true do
it { is_expected.to belong_to(:project) }
it { is_expected.to have_many(:deployments) }
- it { is_expected.to delegate_method(:last_deployment).to(:deployments).as(:last) }
-
it { is_expected.to delegate_method(:stop_action).to(:last_deployment) }
it { is_expected.to delegate_method(:manual_actions).to(:last_deployment) }