diff options
author | Stan Hu <stanhu@gmail.com> | 2016-11-21 22:06:09 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-11-21 22:06:09 -0800 |
commit | 7a155137a4fd965cb8ff512a9548a7e685b330f5 (patch) | |
tree | 3789cb5cfa282bcbcc97baaa8ed61acaae160440 /spec/lib/gitlab/bitbucket_import | |
parent | fc40c3f28a67ecafa58191c0cd6065960dd59c7d (diff) | |
download | gitlab-ce-7a155137a4fd965cb8ff512a9548a7e685b330f5.tar.gz |
Fix spec for Bitbucket importer
Diffstat (limited to 'spec/lib/gitlab/bitbucket_import')
-rw-r--r-- | spec/lib/gitlab/bitbucket_import/importer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/bitbucket_import/importer_spec.rb b/spec/lib/gitlab/bitbucket_import/importer_spec.rb index 36893751ee0..ef4fc9fd08e 100644 --- a/spec/lib/gitlab/bitbucket_import/importer_spec.rb +++ b/spec/lib/gitlab/bitbucket_import/importer_spec.rb @@ -98,7 +98,7 @@ describe Gitlab::BitbucketImport::Importer, lib: true do it 'map statuses to open or closed' do # HACK: Bitbucket::Representation.const_get('Issue') seems to return Issue without this - Bitbucket::Representation::Issue.new + Bitbucket::Representation::Issue.new({}) importer.execute expect(project.issues.where(state: "closed").size).to eq(5) |