123456789101112131415161718 |
- require 'serverspec'
- require 'yaml'
- # Required by serverspec
- set :backend, :exec
- describe "Database match for extra teams" do
-
- it "extra variables" do
- expected_hash = [{ "bla"=> "xxxx", "name"=> "daniels", "state"=> "present" },{ "extra_xxxx"=> "xxx", "name"=> "gin", "state"=> "present" }, { "name"=> "ops", "openvpn"=> true, "state"=> "present"}, {"name"=> "label", "openvpn"=> true, "state"=> "present"}]
- given_hash = YAML.load_file('/tmp/extra_advanced_team_db.yaml')
- expect(given_hash).to match(expected_hash)
- end
-
- end
|