diff options
author | Rémy Coutable <remy@rymai.me> | 2017-06-06 12:53:06 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-06-06 12:53:06 +0300 |
commit | 33fad62d8e13921c765f446fe4d03b2b13f24404 (patch) | |
tree | 58c207a9fc467549d1085562e9a829e264994b20 /spec/requests | |
parent | 4a811fbc11db2d1ab7459f7264848a3b06ff2299 (diff) |
Fix Projects API spec
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/projects_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/api/projects_spec.rb b/spec/requests/api/projects_spec.rb index 5c13cea69fb..c0ecb4d2aaa 100644 --- a/spec/requests/api/projects_spec.rb +++ b/spec/requests/api/projects_spec.rb @@ -1480,7 +1480,7 @@ describe API::Projects do expect(json_response['owner']['id']).to eq(user2.id) expect(json_response['namespace']['id']).to eq(user2.namespace.id) expect(json_response['forked_from_project']['id']).to eq(project.id) - expect(json_response['import_status']).to eq('started') + expect(json_response['import_status']).to eq('scheduled') expect(json_response).to include("import_error") end @@ -1493,7 +1493,7 @@ describe API::Projects do expect(json_response['owner']['id']).to eq(admin.id) expect(json_response['namespace']['id']).to eq(admin.namespace.id) expect(json_response['forked_from_project']['id']).to eq(project.id) - expect(json_response['import_status']).to eq('started') + expect(json_response['import_status']).to eq('scheduled') expect(json_response).to include("import_error") end |