diff options
author | James Lopez <james@jameslopez.es> | 2016-12-19 14:38:23 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-12-19 14:38:23 +0100 |
commit | 527428a78ed4834b936b0aa7a6da430bf66baa2d (patch) | |
tree | 7f4c39a26ec5df50941b33be01885ab58f5fe949 /spec | |
parent | d6edecdeec9b41b4509775ae5b2e01ee15b6d9dc (diff) | |
download | gitlab-ce-527428a78ed4834b936b0aa7a6da430bf66baa2d.tar.gz |
updated spec
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/gitlab/import_export/project_tree_restorer_spec.rb | 4 |
1 files 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 |