test/data_test.rb in gaptool-server-0.6.0.beta1 vs test/data_test.rb in gaptool-server-0.6.0
- old
+ new
@@ -7,9 +7,14 @@
$redis.flushall
DH.set_config('chef_repo', 'myrepo')
DH.set_config('chef_branch', 'master')
end
+ after(:all) do
+ keys = $redis.redis.keys('*').select{|k| !k.start_with?('gt:')}
+ expect(keys).to eq([])
+ end
+
def data
{
'role' => "role",
'environment' => "env"
}