Permalink
Browse files

Add test for encrypted_data_bag_secret option

  • Loading branch information...
1 parent c1e8384 commit 824093f3524196797767c2cb355f24b2a763abf9 @philk philk committed Dec 19, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/test_lib.py
View
@@ -56,6 +56,7 @@ def tearDown(self):
runner.env.ssh_config = None
runner.env.key_filename = None
runner.env.node_work_path = None
+ runner.env.encrypted_data_bag_secret = None
class TestRunner(BaseTest):
@@ -68,6 +69,7 @@ def test_get_config(self):
self.assertEqual(runner.env.password, "testpass")
self.assertEqual(runner.env.key_filename, None)
self.assertEqual(runner.env.node_work_path, "/tmp/chef-solo")
+ self.assertEqual(runner.env.encrypted_data_bag_secret, None)
def test_not_a_kitchen(self):
"""Should abort when no config file found"""

0 comments on commit 824093f

Please sign in to comment.