diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-04-17 15:31:24 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-17 15:49:00 +0300 |
commit | 7d98c8842d6bc9b14fb410f028db7ab651961b42 (patch) | |
tree | 9cbf2db66275adff0f527d0219393db4c8b7248f /spec/lib/gitlab/google_code_import | |
parent | dfebcb89e64d2e4b3ebd2d69b6ae386b6fcc5be0 (diff) |
Move import data out of project so it doesn't take ages to load.
Diffstat (limited to 'spec/lib/gitlab/google_code_import')
-rw-r--r-- | spec/lib/gitlab/google_code_import/importer_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/lib/gitlab/google_code_import/importer_spec.rb b/spec/lib/gitlab/google_code_import/importer_spec.rb index 107ba49962a..1c4503ae0ef 100644 --- a/spec/lib/gitlab/google_code_import/importer_spec.rb +++ b/spec/lib/gitlab/google_code_import/importer_spec.rb @@ -12,9 +12,13 @@ describe Gitlab::GoogleCodeImport::Importer do } } } - let(:project) { create(:project, import_data: import_data) } + let(:project) { create(:project) } subject { described_class.new(project) } + before do + project.create_import_data(data: import_data) + end + describe "#execute" do it "imports status labels" do |