summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Goodman <jgoodman@gitlab.com>2019-05-01 18:38:03 -0400
committerJason Goodman <jgoodman@gitlab.com>2019-05-01 18:38:03 -0400
commitc24639c1298d4c919b01bd229e04799f701b2107 (patch)
treece2998f70fbd12efb33318230f0704cb1bcec9ce
parent0ad6b89bf350cb2c13e7db6b129c7c75c20cf88a (diff)
downloadgitlab-ce-issue-61038-deploy-chat-message-update.tar.gz
Use commit.title in DataBuilder::Deployment specissue-61038-deploy-chat-message-update
-rw-r--r--spec/lib/gitlab/data_builder/deployment_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/data_builder/deployment_spec.rb b/spec/lib/gitlab/data_builder/deployment_spec.rb
index 2bcb3c0d78b..0a6e2302b09 100644
--- a/spec/lib/gitlab/data_builder/deployment_spec.rb
+++ b/spec/lib/gitlab/data_builder/deployment_spec.rb
@@ -33,7 +33,7 @@ describe Gitlab::DataBuilder::Deployment do
expect(data[:user]).to eq(deployment.user.hook_attrs)
expect(data[:user_url]).to eq(expected_user_url)
expect(data[:commit_url]).to eq(expected_commit_url)
- expect(data[:commit_title]).to eq(commit.full_title)
+ expect(data[:commit_title]).to eq(commit.title)
end
end
end