dellcloudedge/barclamp-crowbar — pull request #197 by cloudedge (2012-09-14 20:57:42+00:00)
Title: Fix build break in initializer [1/1]

There is a sequence issues where the initializer is called
before the migrations. This commit adds a try/catch around
the documentation initializer.

crowbar_framework/BDD/bdd_webrat.erl | 8 ++-
crowbar_framework/BDD/crowbar.erl | 6 ++-
crowbar_framework/BDD/dashboard.erl | 18 +++++---
crowbar_framework/BDD/eurl.erl | 40 +++++++++++++++-----
crowbar_framework/BDD/features/dashboard.feature | 2 +-
.../BDD/features/documentation.feature | 6 +-
crowbar_framework/BDD/features/navigation.feature | 25 +++++-------
crowbar_framework/BDD/nodes.erl | 3 +-
crowbar_framework/app/models/node.rb | 4 +-
.../config/initializers/documentation.rb | 9 +++-
.../db/migrate/20120722130500_create_docs.rb | 4 +-
.../db/migrate/20120731225516_create_nodes.rb | 2 +-
crowbar_framework/test/unit/node_model_test.rb | 8 +++-
13 files changed, 83 insertions(+), 52 deletions(-)