dellcloudedge/barclamp-crowbar — pull request #144 by cloudedge (2012-08-15 06:01:13+00:00)
Title: Updates to Unit tests and docs [3/7]

This pull supports cleanups to unit tests (and bug fixes too)
Some documentation updates including table formatting
More BDD work so that we can do REST API validation

crowbar_framework/BDD/bdd.erl | 2 +-
crowbar_framework/BDD/bdd_utils.erl | 2 +-
crowbar_framework/BDD/bdd_webrat.erl | 3 +-
crowbar_framework/BDD/nodes.erl | 45 +++++++++++++
crowbar_framework/BDD/nodes.feature | 65 +++++++++++++------
crowbar_framework/BDD/scaffolds.feature | 5 ++
.../app/controllers/nodes_controller.rb | 7 ++
crowbar_framework/app/models/barclamp.rb | 8 +--
crowbar_framework/app/models/group.rb | 6 +-
crowbar_framework/app/models/node.rb | 46 +++++++-------
crowbar_framework/app/models/proposal.rb | 2 +-
crowbar_framework/app/views/nodes/_form.html.haml | 8 +-
crowbar_framework/app/views/nodes/_show.html.haml | 2 +-
crowbar_framework/config/routes.rb | 5 +-
crowbar_framework/doc/crowbar.yml | 20 +++---
.../doc/default/crowbar/book-developersguide.md | 2 +-
.../doc/default/crowbar/devguide/api/barclamp.md | 9 ++-
.../doc/default/crowbar/devguide/api/node.md | 48 ++++++++++++---
.../doc/default/crowbar/devguide/api/proposal.md | 9 ++-
.../doc/default/crowbar/devguide/testing.md | 34 ++++++++++-
.../doc/default/crowbar/ui-general.md | 3 -
crowbar_framework/doc/default/crowbar/ui-nodes.md | 3 -
.../doc/default/crowbar/ui-utilities.md | 4 -
.../doc/default/crowbar/userguide/ui-general.md | 3 +
.../doc/default/crowbar/userguide/ui-nodes.md | 3 +
.../doc/default/crowbar/userguide/ui-utilities.md | 4 +
.../doc/default/crowbar/userguide/utils-export.md | 3 +
.../doc/default/crowbar/utils-export.md | 3 -
crowbar_framework/test/test_helper.rb | 15 +++++
crowbar_framework/test/unit/barclamp_model_test.rb | 33 ++++++----
crowbar_framework/test/unit/group_model_test.rb | 53 +++++++++++++---
crowbar_framework/test/unit/node_model_test.rb | 66 +++++++++++++++----
crowbar_framework/test/unit/proposal_model_test.rb | 28 ++++++---
33 files changed, 403 insertions(+), 146 deletions(-)