Revert few more broken specs related to *_with_namespace methods

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2018-03-05 18:25:52 +02:00
parent f53cf3c486
commit 9fb733c323
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
2 changed files with 3 additions and 3 deletions

View File

@ -246,7 +246,7 @@ describe AutocompleteController do
expect(json_response.size).to eq(1)
expect(json_response.first['id']).to eq authorized_project.id
expect(json_response.first['full_name']).to eq authorized_project.full_name
expect(json_response.first['name_with_namespace']).to eq authorized_project.full_name
end
end
end
@ -267,7 +267,7 @@ describe AutocompleteController do
expect(json_response.size).to eq(1)
expect(json_response.first['id']).to eq authorized_search_project.id
expect(json_response.first['full_name']).to eq authorized_search_project.full_name
expect(json_response.first['name_with_namespace']).to eq authorized_search_project.full_name
end
end
end

View File

@ -25,7 +25,7 @@ describe Gitlab::GithubImport::ObjectImporter do
importer_class = double(:importer_class)
importer_instance = double(:importer_instance)
representation = double(:representation)
project = double(:project, path_with_namespace: 'foo/bar')
project = double(:project, full_path: 'foo/bar')
client = double(:client)
expect(worker)