From d8ce4f942bd8005a7eb7beb8f5f9e812e5a7e763 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Fri, 3 Aug 2018 06:07:37 -0700 Subject: Remove date from author line since that is already present in `created_at` --- spec/lib/gitlab/bitbucket_server_import/importer_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/lib/gitlab/bitbucket_server_import') 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) -- cgit v1.2.1