Commit 4bce563c authored by James Lopez's avatar James Lopez

fix specs

parent ef8217fb
......@@ -60,6 +60,12 @@
"due_date": null,
"moved_to_id": null,
"test_ee_field": "test",
"issue_assignees": [
{
"user_id": 1,
"issue_id": 1
}
],
"milestone": {
"id": 1,
"title": "test milestone",
......@@ -70,12 +76,6 @@
"updated_at": "2016-06-14T15:02:04.415Z",
"state": "active",
"iid": 1,
"issue_assignees": [
{
"user_id": 1,
"issue_id": 1
}
]
"events": [
{
"id": 487,
......
......@@ -64,7 +64,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
end
it 'has issue assignees' do
expect(project.issues.where(title: 'Voluptatem').first.issue_assignees).not_to be_empty
expect(Issue.where(title: 'Voluptatem').first.issue_assignees).not_to be_empty
end
it 'contains the merge access levels on a protected branch' do
......
......@@ -506,3 +506,6 @@ ProjectAutoDevops:
- project_id
- created_at
- updated_at
IssueAssignee:
- user_id
- issue_id
\ No newline at end of file
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