From 654158709b329d0a19a747735e4f6f02774354e4 Mon Sep 17 00:00:00 2001 From: Adam Jacob Date: Thu, 28 May 2009 11:32:33 -0700 Subject: Updating role integration test --- features/chef-client/roles.feature | 2 +- features/data/config/client.rb | 1 + features/steps/couchdb_steps.rb | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'features') diff --git a/features/chef-client/roles.feature b/features/chef-client/roles.feature index 267fa4e1f2..7dd44f6521 100644 --- a/features/chef-client/roles.feature +++ b/features/chef-client/roles.feature @@ -9,5 +9,5 @@ Feature: Configure nodes based on their role And it includes the role 'role_test' When I run the chef-client with '-l debug' Then the run should exit '0' - + And 'stdout' should have 'DEBUG: Loading Recipe roles' diff --git a/features/data/config/client.rb b/features/data/config/client.rb index 45471dabae..ab10d750df 100644 --- a/features/data/config/client.rb +++ b/features/data/config/client.rb @@ -10,4 +10,5 @@ openid_url "http://127.0.0.1:4001" template_url "http://127.0.0.1:4000" remotefile_url "http://127.0.0.1:4000" search_url "http://127.0.0.1:4000" +role_url "http://127.0.0.1:4000" couchdb_database 'chef_integration' diff --git a/features/steps/couchdb_steps.rb b/features/steps/couchdb_steps.rb index 82a3acfe3d..be8b84db0a 100644 --- a/features/steps/couchdb_steps.rb +++ b/features/steps/couchdb_steps.rb @@ -22,6 +22,7 @@ Before do cdb.create_db Chef::Node.create_design_document Chef::Role.create_design_document + Chef::Role.sync_from_disk_to_couchdb Chef::OpenIDRegistration.create_design_document end -- cgit v1.2.1