coffeescript-support/snippets/helper.snippet
Christopher H. Laco c55a704cbd Initial import
2011-01-30 22:13:44 -05:00

14 lines
221 B
Plaintext

beforeEach(function() {
this.addMatchers({
to${1}: function() {
var summary = this.actual;
this.actual = summary.clone().wrap('<div>').parent().html();
${2}
return ${3:false};
},
});