     title = faker.lorem.sentence()
     url = faker.internet.avatar()
 
-  it 'formats an issue open event', ->
     event =
       data:
-        action: 'opened'
         issue:
           number: number
           title: title

        repository:
          full_name: repo

    expect(formatter(event)).toEqual """
      #{name} opened Issue ##{number} on #{repo}
      Title: #{title}

      """

  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}
