Created
January 2, 2015 20:20
-
-
Save dblessing/41c878055e66740e2e32 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Given: | |
it { is_expected.to render_file('/etc/file').with_content('string1') } | |
RSpec (documentation) outputs as: | |
"should render file "/etc/file" with content "string1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment