Skip to content

Instantly share code, notes, and snippets.

@dblessing
Created January 2, 2015 20:20
Show Gist options
  • Save dblessing/41c878055e66740e2e32 to your computer and use it in GitHub Desktop.
Save dblessing/41c878055e66740e2e32 to your computer and use it in GitHub Desktop.
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