Env#addMatchers is no longer exposed on spec, it is exposed globally in boot.js.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
this.addMatchers({
|
addMatchers({
|
||||||
toBePlaying: function(expectedSong) {
|
toBePlaying: function(expectedSong) {
|
||||||
var player = this.actual;
|
var player = this.actual;
|
||||||
return player.currentlyPlayingSong === expectedSong &&
|
return player.currentlyPlayingSong === expectedSong &&
|
||||||
|
|||||||
Reference in New Issue
Block a user