Skip to content

Commit

Permalink
Add expect to have_content snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaohong-Deng authored and princemaple committed Jul 20, 2017
1 parent 8f08d05 commit 2c59496
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Snippets/expect-to-have_content.sublime-snippet
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<snippet>
<content><![CDATA[expect(${1:subject}).to have_content(${2:content})$0]]></content>
<tabTrigger>exphc</tabTrigger>
<scope>source.ruby.rspec</scope>
<description>expect(object).to have_content(content)</description>
</snippet>

0 comments on commit 2c59496

Please sign in to comment.