doubt is rspec-puppet concept
From the last two weeks I am learning rspec-puppet and doing sample code testing.
Today I tried host.pp manifests, just adding host name "1235 puppet.example.com puppet" to /etc/hosts file.
I have written rspec-puppet testcase and it is working.
The host entry "1235 puppet.example.com puppet" is not present in /etc/hosts, but howcome my testcase is passing. Because as per my knowledge rspec-puppet test file will check generated catalog, if so how my test pass without catalog update.
Please correct me if my understanding is wrong.