Fix Rubocop errors with Bitbucket Importer spec

This commit is contained in:
Stan Hu 2016-11-21 20:58:46 -08:00
parent 402cc95c1a
commit fc40c3f28a

View file

@ -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)