Fix GitHub pull request formatter spec
This commit is contained in:
parent
a6affc66dc
commit
6e64071e20
|
@ -64,7 +64,8 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do
|
||||||
author_id: project.creator_id,
|
author_id: project.creator_id,
|
||||||
assignee_id: nil,
|
assignee_id: nil,
|
||||||
created_at: created_at,
|
created_at: created_at,
|
||||||
updated_at: updated_at
|
updated_at: updated_at,
|
||||||
|
imported: true
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(pull_request.attributes).to eq(expected)
|
expect(pull_request.attributes).to eq(expected)
|
||||||
|
@ -90,7 +91,8 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do
|
||||||
author_id: project.creator_id,
|
author_id: project.creator_id,
|
||||||
assignee_id: nil,
|
assignee_id: nil,
|
||||||
created_at: created_at,
|
created_at: created_at,
|
||||||
updated_at: updated_at
|
updated_at: updated_at,
|
||||||
|
imported: true
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(pull_request.attributes).to eq(expected)
|
expect(pull_request.attributes).to eq(expected)
|
||||||
|
@ -117,7 +119,8 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do
|
||||||
author_id: project.creator_id,
|
author_id: project.creator_id,
|
||||||
assignee_id: nil,
|
assignee_id: nil,
|
||||||
created_at: created_at,
|
created_at: created_at,
|
||||||
updated_at: updated_at
|
updated_at: updated_at,
|
||||||
|
imported: true
|
||||||
}
|
}
|
||||||
|
|
||||||
expect(pull_request.attributes).to eq(expected)
|
expect(pull_request.attributes).to eq(expected)
|
||||||
|
|
Loading…
Reference in New Issue