We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3609da4 + 427de4e commit af70b14Copy full SHA for af70b14
Snippets/allow-to-receive.sublime-snippet
@@ -1,5 +1,5 @@
1
<snippet>
2
- <content><![CDATA[allow(${1:collaborator}).to receive(:${2:message})${3:.with(${4:args})}$0]]></content>
+ <content><![CDATA[allow(${1:collaborator}).to receive(:${2:message})${3:.with(${4:args})}${5:.and_return(${6:result})}$0]]></content>
3
<tabTrigger>allrec</tabTrigger>
4
<scope>source.ruby.rspec</scope>
5
<description>allow(object).to receive(message)</description>
0 commit comments