Gem-ize jasmine

[Finishes #13128217]
This commit is contained in:
ragaskar
2011-06-17 20:40:15 -04:00
parent e4e9b51544
commit 30431a3958
29 changed files with 16171 additions and 233 deletions

View File

@@ -0,0 +1,9 @@
beforeEach(function() {
this.addMatchers({
toBePlaying: function(expectedSong) {
var player = this.actual;
return player.currentlyPlayingSong === expectedSong &&
player.isPlaying;
}
});
});