Skip to content

Instantly share code, notes, and snippets.

@rossta
Created August 17, 2010 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rossta/529631 to your computer and use it in GitHub Desktop.
Save rossta/529631 to your computer and use it in GitHub Desktop.
beforeEach(function() {
this.addMatchers({
toBeA: function(expected) { return this.env.equals_(this.actual, jasmine.any(expected)); }
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment