crowbar/barclamp-crowbar — pull request #681 by cloudedge (2013-09-05 03:51:31+00:00)
Title: Adding Tests for DeploymentRole and Annealer [1/1]

I continue to work towards a full annealer run test...

In this pull, I test the deployment role actions via REST. This required added some
small helpers.

I also refactored some BDD code that was still using the old Config bag model.

I added some BDD shortcuts {o: instead of {object: for readability.

Added Documentation matching items I am testing.

BDD/bdd_restrat.erl | 1 +
BDD/bdd_utils.erl | 25 +++++++--------
BDD/crowbar.erl | 32 +++++++++++++++-----
BDD/deployment_role.erl | 8 +++--
BDD/features/annealer.feature | 11 ++++++-
BDD/features/deployment_role.feature | 6 ++++
BDD/features/node_role.feature | 2 +-
.../app/controllers/deployment_roles_controller.rb | 2 ++
doc/devguide/api/deployment_role.md | 20 ++++++++++++
9 files changed, 84 insertions(+), 23 deletions(-)

Crowbar-Pull-ID: e3a6afc5b3018b71f086d37c25807e60a9327726

Crowbar-Release: development