{"action":"opened","issue":{"url":"https://api.github.com/repos/chef/inspec/issues/605","repository_url":"https://api.github.com/repos/chef/inspec","labels_url":"https://api.github.com/repos/chef/inspec/issues/605/labels{/name}","comments_url":"https://api.github.com/repos/chef/inspec/issues/605/comments","events_url":"https://api.github.com/repos/chef/inspec/issues/605/events","html_url":"https://github.com/chef/inspec/issues/605","id":144918198,"number":605,"title":"Windows: registry_value resource and type matcher? ","user":{"login":"stuartpreston","id":6384654,"avatar_url":"https://avatars.githubusercontent.com/u/6384654?v=3","gravatar_id":"","url":"https://api.github.com/users/stuartpreston","html_url":"https://github.com/stuartpreston","followers_url":"https://api.github.com/users/stuartpreston/followers","following_url":"https://api.github.com/users/stuartpreston/following{/other_user}","gists_url":"https://api.github.com/users/stuartpreston/gists{/gist_id}","starred_url":"https://api.github.com/users/stuartpreston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stuartpreston/subscriptions","organizations_url":"https://api.github.com/users/stuartpreston/orgs","repos_url":"https://api.github.com/users/stuartpreston/repos","events_url":"https://api.github.com/users/stuartpreston/events{/privacy}","received_events_url":"https://api.github.com/users/stuartpreston/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-31T14:28:40Z","updated_at":"2016-03-31T14:28:40Z","closed_at":null,"body":"I'd like to do something like this:\r\n\r\n```\r\ndescribe registry_value('Task Scheduler','HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Schedule\\Start') do\r\n  its(:registry_type) { should eq :dword }\r\nend\r\n```\r\n\r\nor keeping with registry_key (???)\r\n\r\n```\r\ndescribe registry_key('Task Scheduler','HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\services\\Schedule') do\r\n  its('Start') { should be_registry_type :dword }\r\nend\r\n```\r\n\r\nWe had similar capability in ServerSpec (test by 'name', 'data' and 'type' but would be good to have an InSpec equivalent...)"}}