dellcloudedge/barclamp-crowbar — pull request #263 by cloudedge (2012-11-08 05:31:08+00:00)
Title: Fix minor issues w/ CMDB controller & tests. [1/1]

Part of the ongoing work to complete BDD tests for CMDB controller.

Minor fix to CMDB controller to avoid illegal i18n keys (:object)

BDD improvements:
1) added a way to set logging levels from the bdd:debug command
2) fixed the json:output to respect arrays (no longer returns a hash)

crowbar_framework/BDD/bdd.erl | 13 +++++++++----
crowbar_framework/BDD/cmdbs.erl | 5 ++++-
crowbar_framework/BDD/crowbar_rest.erl | 4 ++--
crowbar_framework/BDD/features/cmdbs.feature | 4 ++--
crowbar_framework/BDD/json.erl | 11 +++++++++--
.../app/controllers/crowbar_controller.rb | 4 ++--
crowbar_framework/config/locales/en.yml | 4 ++--
.../doc/default/crowbar/devguide/testing/bdd.md | 1 +
.../crowbar/devguide/testing/bdd/internals.md | 10 +++++++++-
9 files changed, 40 insertions(+), 16 deletions(-)

Crowbar-Pull-ID: 44c3dab7f10e6c4f40097566c64ad965b12cb8d3

Crowbar-Release: development