crowbar/barclamp-crowbar — pull request #357 by cloudedge (2013-01-24 15:34:30+00:00)
Title: Pull in added BDD scenario added during tutorial [1/1]

I created this extra test during a tutorial and it works.

Also, moved the BDD.md doc back to the right place.

BDD/barclamp.erl | 2 +-
BDD/features/proposals.feature | 2 +
BDD/features/users.feature | 9 +-
BDD/users.erl | 12 +-
.../app/controllers/barclamp_controller.rb | 5 +
crowbar_framework/app/models/barclamp.rb | 45 ++++--
.../app/models/barclamp_configuration.rb | 54 +++++---
crowbar_framework/app/models/barclamp_instance.rb | 30 ++--
crowbar_framework/app/models/doc.rb | 58 ++++----
crowbar_framework/app/models/node_role.rb | 9 +-
crowbar_framework/app/models/role.rb | 17 ++-
crowbar_framework/app/models/role_element_order.rb | 2 +-
.../app/views/barclamp/_index.html.haml | 42 +++---
.../app/views/barclamp/graph.html.haml | 43 ++++++
.../app/views/barclamp/index.html.haml | 4 +-
crowbar_framework/config/locales/crowbar/en.yml | 51 +++++--
crowbar_framework/config/locales/en.yml | 21 +--
crowbar_framework/config/routes.rb | 1 +
.../db/migrate/20120723233100_create_navs.rb | 1 +
.../db/migrate/20120731225405_create_barclamps.rb | 35 ++---
.../20120731225466_create_barclamps_configs.rb | 30 ++++
.../20120731225476_create_barclamps_instances.rb | 29 ++++
.../db/migrate/20120731225504_create_roles.rb | 12 +-
.../db/migrate/20120731225505_create_node_roles.rb | 7 +-
.../20120731230001_barclamp_import_crowbar.rb | 3 +-
crowbar_framework/spec/models/jig_spec.rb | 21 +--
.../test/unit/barclamp_config_model_test.rb | 144 ++++++++++++++++++++
.../test/unit/barclamp_instance_model_test.rb | 24 ++++
crowbar_framework/test/unit/barclamp_model_test.rb | 21 +--
.../test/unit/node_role_model_test.rb | 1 +
crowbar_framework/test/unit/role_model_test.rb | 18 ++-
doc/devguide/testing/bdd.md | 94 +++++++++++++
32 files changed, 676 insertions(+), 171 deletions(-)

Crowbar-Pull-ID: 044a3cebe68ea1c7a6b175bfd6b1c59b3e84cb35

Crowbar-Release: development