Skip to content

Commit

Permalink
'subject' method no longer exists in rspec-puppet.
Browse files Browse the repository at this point in the history
Fixes the rspec tests as documented in rodjek/rspec-puppet#235 .
  • Loading branch information
razorsedge committed Feb 7, 2015
1 parent 4cb30fa commit 13a9628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/classes/tor_init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
:group => '_tor'
)}
it 'should contain File[/etc/tor/tor-exit-notice.html] with correct contents' do
verify_contents(subject, '/etc/tor/tor-exit-notice.html', [
verify_contents(catalogue, '/etc/tor/tor-exit-notice.html', [
'1.2.3.4 should not constitute probable cause to seize the',
'email the <a href="mailto:root@localhost">maintainer</a>. If',
])
Expand Down

0 comments on commit 13a9628

Please sign in to comment.