Skip to content

Instantly share code, notes, and snippets.

@jimryan
Created April 1, 2013 21:18

Revisions

  1. jimryan renamed this gist Apr 1, 2013. 1 changed file with 0 additions and 0 deletions.
  2. jimryan created this gist Apr 1, 2013.
    9 changes: 9 additions & 0 deletions capybara-expect-page-to-have-content.sublime-snippet
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    <snippet>
    <content><![CDATA[
    expect(page).to have_content '${1:content}'
    ]]></content>
    <!-- Optional: Set a tabTrigger to define how to trigger the snippet -->
    <tabTrigger>ephc</tabTrigger>
    <!-- Optional: Set a scope to limit where the snippet will trigger -->
    <scope>source.ruby</scope>
    </snippet>