updated spec

This commit is contained in:
James Lopez 2016-12-19 14:38:23 +01:00
parent d6edecdeec
commit 527428a78e

View file

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