{"action":"closed","issue":{"url":"https://api.github.com/repos/sethvargo/chefspec/issues/626","labels_url":"https://api.github.com/repos/sethvargo/chefspec/issues/626/labels{/name}","comments_url":"https://api.github.com/repos/sethvargo/chefspec/issues/626/comments","events_url":"https://api.github.com/repos/sethvargo/chefspec/issues/626/events","html_url":"https://github.com/sethvargo/chefspec/issues/626","id":101920659,"number":626,"title":"How to pass new_resource variable in a chefspec test?","user":{"login":"equick","id":7505320,"avatar_url":"https://avatars.githubusercontent.com/u/7505320?v=3","gravatar_id":"","url":"https://api.github.com/users/equick","html_url":"https://github.com/equick","followers_url":"https://api.github.com/users/equick/followers","following_url":"https://api.github.com/users/equick/following{/other_user}","gists_url":"https://api.github.com/users/equick/gists{/gist_id}","starred_url":"https://api.github.com/users/equick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/equick/subscriptions","organizations_url":"https://api.github.com/users/equick/orgs","repos_url":"https://api.github.com/users/equick/repos","events_url":"https://api.github.com/users/equick/events{/privacy}","received_events_url":"https://api.github.com/users/equick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T15:31:51Z","updated_at":"2015-08-19T15:37:27Z","closed_at":"2015-08-19T15:37:27Z","body":"Hi,\r\n\r\nI raised this on stackoverflow at http://stackoverflow.com/questions/32083103/how-to-pass-new-resource-variable-in-a-chefspec-test as well so sorry for duplicating but not sure it goes to the same audience.\r\n\r\nI'm writing a chefspec test for an LWRP which does ```settings = new_resource.settings``` and stuck on how I can get that value passed into the chefspec test?\r\n\r\nThanks for any help.\r\n\r\nEdward"}}