Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Make it clear that create_file_with_content matches on partial content

At the moment, you have to try it out or search the commit/change log
to figure out the behavior.
  • Loading branch information...
commit 1f73c73f596372321a4bcdc930737017dd7425bd 1 parent 2219ad7
@mlafeldt mlafeldt authored jimhopp-lookout committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 
2 
@@ -295,7 +295,7 @@ Assert that a file would have the correct ownership:
chef_run.file('/var/log/bar.log').should be_owned_by('user', 'group')
-Assert that a file would have the expected content:
+Assert that a file would have the expected content (matches on partial content):
chef_run.should create_file_with_content 'hello-world.txt', 'hello world'

0 comments on commit 1f73c73

Please sign in to comment.
Something went wrong with that request. Please try again.