OWASP / Maturity-Models

Node application to help managing Maturity Models like the ones created by BSIMM and OpenSAMM
Apache License 2.0
187 stars 51 forks source link

Users are able to delete teams #137

Closed DinisCruz closed 8 years ago

DinisCruz commented 8 years ago

Due to #130 feature (ability to delete teams)

Here is the test that proves it

 it 'delete', ->
    using api_Team, ->
      team_Name = @.data_Team.new_Team project
      req = params : project : project , team : team_Name
      res = send: (data)-> data.status.assert_Is 'Team Deleted'
      api_Team.delete(req, res)

  it 'delete (no project)', ->
    req = params : null
    res = send: (data)-> data.error.assert_Is 'Team deletion failed'
    api_Team.delete(req, res)