diff options
author | Jason Goodman <jgoodman@gitlab.com> | 2019-05-01 18:38:03 -0400 |
---|---|---|
committer | Jason Goodman <jgoodman@gitlab.com> | 2019-05-01 18:38:03 -0400 |
commit | c24639c1298d4c919b01bd229e04799f701b2107 (patch) | |
tree | ce2998f70fbd12efb33318230f0704cb1bcec9ce | |
parent | 0ad6b89bf350cb2c13e7db6b129c7c75c20cf88a (diff) | |
download | gitlab-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.rb | 2 |
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 |