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

fix specs

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