diff options
author | Adam Jacob <adam@opscode.com> | 2009-05-28 11:32:33 -0700 |
---|---|---|
committer | Adam Jacob <adam@opscode.com> | 2009-05-28 11:32:33 -0700 |
commit | 654158709b329d0a19a747735e4f6f02774354e4 (patch) | |
tree | 873899dde7f94b0a53be77521b2228d80747c353 /features | |
parent | b134af4a053eda678e0e04e165743a5b3d91606c (diff) | |
download | chef-654158709b329d0a19a747735e4f6f02774354e4.tar.gz |
Updating role integration test
Diffstat (limited to 'features')
-rw-r--r-- | features/chef-client/roles.feature | 2 | ||||
-rw-r--r-- | features/data/config/client.rb | 1 | ||||
-rw-r--r-- | features/steps/couchdb_steps.rb | 1 |
3 files changed, 3 insertions, 1 deletions
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 |