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

Add test to delete all temp team #136

Closed DinisCruz closed 7 years ago

DinisCruz commented 8 years ago

Created via (unit) Tests

image

DinisCruz commented 7 years ago

Done here is the test that implements this

  it '#136 - Add test to delete all temp team ', ->
    using new Data_Team(), ->
      project = 'bsimm'
      @.new_Team(project)   #
      temp_Teams = (name for name, path of @.teams(project) when path.contains('new_teams')).assert_Not_Empty()

      for team in temp_Teams.assert_Not_Empty()
        @.delete_Team(project, team)

      (name for name, path of @.teams(project) when path.contains('new_teams')).assert_Is []