BigW Consortium Gitlab

Update workers spec to use full_path instead of path_with_namespace

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