From 527428a78ed4834b936b0aa7a6da430bf66baa2d Mon Sep 17 00:00:00 2001 From: James Lopez <james@jameslopez.es> Date: Mon, 19 Dec 2016 14:38:23 +0100 Subject: [PATCH] updated spec --- spec/lib/gitlab/import_export/project_tree_restorer_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb index 13f593fb2db..4b07fa53bf5 100644 --- a/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb +++ b/spec/lib/gitlab/import_export/project_tree_restorer_spec.rb @@ -190,8 +190,8 @@ describe Gitlab::ImportExport::ProjectTreeRestorer, services: true do end end - context 'existing builds' do - it 'do not throw errors' do + context 'when there is an existing build with build token' do + it 'restores project json correctly' do create(:ci_build, token: 'abcd') expect(restored_project_json).to be true -- GitLab