summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/bitbucket_server_import
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2018-08-03 06:07:37 -0700
committerStan Hu <stanhu@gmail.com>2018-08-03 06:07:37 -0700
commitd8ce4f942bd8005a7eb7beb8f5f9e812e5a7e763 (patch)
tree17f075bf8cd71f898576c16a3ed4ac0f795b2dee /spec/lib/gitlab/bitbucket_server_import
parent61f5c2e38c9699f9ce9307997b2b0f4ca44205f6 (diff)
downloadgitlab-ce-d8ce4f942bd8005a7eb7beb8f5f9e812e5a7e763.tar.gz
Remove date from author line since that is already present in `created_at`
Diffstat (limited to 'spec/lib/gitlab/bitbucket_server_import')
-rw-r--r--spec/lib/gitlab/bitbucket_server_import/importer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/bitbucket_server_import/importer_spec.rb b/spec/lib/gitlab/bitbucket_server_import/importer_spec.rb
index ad71606591c..70423823b89 100644
--- a/spec/lib/gitlab/bitbucket_server_import/importer_spec.rb
+++ b/spec/lib/gitlab/bitbucket_server_import/importer_spec.rb
@@ -169,7 +169,7 @@ describe Gitlab::BitbucketServerImport::Importer do
reply_note = notes.last
# Make sure author and reply context is included
- expect(reply_note.note).to start_with("*By #{reply.author_username} (#{reply.author_email}) on #{reply.created_at}*\n\n")
+ expect(reply_note.note).to start_with("*By #{reply.author_username} (#{reply.author_email})*\n\n")
expect(reply_note.note).to end_with("> #{inline_note.note}\n\n#{reply.note}")
expect(reply_note.author).to eq(project.owner)
expect(reply_note.created_at).to eq(reply.created_at)