Fix GitHub pull request formatter spec

This commit is contained in:
Douglas Barbosa Alexandre 2017-04-03 14:33:30 -03:00
parent a6affc66dc
commit 6e64071e20
1 changed files with 6 additions and 3 deletions

View File

@ -64,7 +64,8 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do
author_id: project.creator_id,
assignee_id: nil,
created_at: created_at,
updated_at: updated_at
updated_at: updated_at,
imported: true
}
expect(pull_request.attributes).to eq(expected)
@ -90,7 +91,8 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do
author_id: project.creator_id,
assignee_id: nil,
created_at: created_at,
updated_at: updated_at
updated_at: updated_at,
imported: true
}
expect(pull_request.attributes).to eq(expected)
@ -117,7 +119,8 @@ describe Gitlab::GithubImport::PullRequestFormatter, lib: true do
author_id: project.creator_id,
assignee_id: nil,
created_at: created_at,
updated_at: updated_at
updated_at: updated_at,
imported: true
}
expect(pull_request.attributes).to eq(expected)