Update workers spec to use full_path instead of path_with_namespace

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2018-03-05 16:55:51 +02:00
parent 8fe9995f11
commit a87bd1d401
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
4 changed files with 4 additions and 4 deletions

View file

@ -5,7 +5,7 @@ describe Gitlab::GithubImport::ImportDiffNoteWorker do
describe '#import' do
it 'imports a diff note' do
project = double(:project, path_with_namespace: 'foo/bar')
project = double(:project, full_path: 'foo/bar')
client = double(:client)
importer = double(:importer)
hash = {

View file

@ -5,7 +5,7 @@ describe Gitlab::GithubImport::ImportIssueWorker do
describe '#import' do
it 'imports an issue' do
project = double(:project, path_with_namespace: 'foo/bar')
project = double(:project, full_path: 'foo/bar')
client = double(:client)
importer = double(:importer)
hash = {

View file

@ -5,7 +5,7 @@ describe Gitlab::GithubImport::ImportNoteWorker do
describe '#import' do
it 'imports a note' do
project = double(:project, path_with_namespace: 'foo/bar')
project = double(:project, full_path: 'foo/bar')
client = double(:client)
importer = double(:importer)
hash = {

View file

@ -5,7 +5,7 @@ describe Gitlab::GithubImport::ImportPullRequestWorker do
describe '#import' do
it 'imports a pull request' do
project = double(:project, path_with_namespace: 'foo/bar')
project = double(:project, full_path: 'foo/bar')
client = double(:client)
importer = double(:importer)
hash = {