Commit a87bd1d4 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Update workers spec to use full_path instead of path_with_namespace

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8fe9995f
......@@ -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 = {
......
......@@ -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 = {
......
......@@ -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 = {
......
......@@ -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 = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment