dellcloudedge/barclamp-crowbar — pull request #310 by galthaus (2012-12-29 03:10:07+00:00)
Title: Unit test additions and clean-up to enable the mysql barclamp to be applied [1/3]

In this pull request set, the following things are addressed:
1. Addition of a mostly complete unit test for the proposal_config model
2. Clean-up of warnings in the BDD code in both crowbar and network barclamps
3. Fix error/bug in keystone that keeps it from being created.

As a side effect of the unit test for proposal_config, there are lots of
bugs fixed with the side effect that the mysql barclamp can be create and committed.

Keystone can be applied, but dependency checks fail. More unit tests needed for that.

crowbar_framework/BDD/authenticate.erl | 4 +-
crowbar_framework/BDD/digest_auth.erl | 14 +-
crowbar_framework/BDD/features/scaffolds.feature | 4 +-
crowbar_framework/BDD/simple_auth.erl | 20 +-
crowbar_framework/BDD/users.erl | 2 +-
crowbar_framework/app/models/barclamp.rb | 3 +-
crowbar_framework/app/models/proposal_config.rb | 34 +-
crowbar_framework/app/models/service_object.rb | 8 +-
.../app/models/==BC-MODEL==_service.rb | 2 +-
crowbar_framework/script/crowbar_requester.rb | 6 +-
crowbar_framework/script/crowbar_runner.rb | 12 +-
.../test/unit/proposal_config_model_test.rb | 338 ++++++++++++++++++++
crowbar_framework/test/unit/proposal_model_test.rb | 1 +
13 files changed, 407 insertions(+), 41 deletions(-)

Crowbar-Pull-ID: 56db139c1ebcc1e94094f4219193c0e4e205ec04

Crowbar-Release: development