Fix Rubocop errors with Bitbucket Importer spec
This commit is contained in:
parent
402cc95c1a
commit
fc40c3f28a
1 changed files with 7 additions and 7 deletions
|
@ -98,7 +98,7 @@ describe Gitlab::BitbucketImport::Importer, lib: true do
|
||||||
|
|
||||||
it 'map statuses to open or closed' do
|
it 'map statuses to open or closed' do
|
||||||
# HACK: Bitbucket::Representation.const_get('Issue') seems to return Issue without this
|
# HACK: Bitbucket::Representation.const_get('Issue') seems to return Issue without this
|
||||||
Bitbucket::Representation::Issue
|
Bitbucket::Representation::Issue.new
|
||||||
importer.execute
|
importer.execute
|
||||||
|
|
||||||
expect(project.issues.where(state: "closed").size).to eq(5)
|
expect(project.issues.where(state: "closed").size).to eq(5)
|
||||||
|
|
Loading…
Reference in a new issue