       """
 
   it 'formats an issue unassign event where the unassigner is the assignee', ->
-    event =
-      data:
-        action: 'unassigned'
-        issue:
-          number: number
-          title: title
-          user:
-            login: name
-          html_url: url
-        repository:
-          full_name: repo
-        assignee:
-          login: name
+    event.data.action = 'unassigned'
+    event.data.assignee =
+      login: name
 
     expect(formatter(event)).toEqual """
       #{name} unassigned themselves from Issue ##{number} on #{repo}

      """

  it 'formats an issue unlabel event', ->
    event =
      data:
        action: 'unlabeled'
        issue:
          number: number
          title: title
          user:
            login: name
          html_url: url
        repository:
          full_name: repo
        label:
          name: label

    expect(formatter(event)).toEqual """
      #{name} removed the label '#{label}' from Issue ##{number} on #{repo}

      """

  it 'formats an issue assign event', ->
    event.data.action = 'assigned'
    event.data.assignee =
      login: otherName

    expect(formatter(event)).toEqual """
      #{name} assigned #{otherName} to Issue ##{number} on #{repo}
