coffeescript-support/templates/SpecHelper.js
Christopher H. Laco 5191a7336a Moved functions to autoload
Added functions/settings for template/snippets directory
Now uses templates for new Spec/SpecHelper.js files
2011-02-02 00:17:20 -05:00

13 lines
256 B
JavaScript

beforeEach(function() {
this.addMatchers({
toHaveSomething: function() {
var summary = this.actual;
this.actual = summary.clone().wrap('<div>').parent().html();
// Magical matcher work goes here.
return false;
},
});