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:
parent
8fe9995f11
commit
a87bd1d401
4 changed files with 4 additions and 4 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue