From 92492c01446140908e0b6429f93db371278eee2c Mon Sep 17 00:00:00 2001 From: "Dan Hansen and Davis W. Frank" Date: Tue, 26 Feb 2013 16:41:46 -0800 Subject: [PATCH] Env#addMatchers is no longer exposed on spec, it is exposed globally in boot.js. --- lib/jasmine-core/example/spec/SpecHelper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jasmine-core/example/spec/SpecHelper.js b/lib/jasmine-core/example/spec/SpecHelper.js index e9b8284d..c097ee1f 100644 --- a/lib/jasmine-core/example/spec/SpecHelper.js +++ b/lib/jasmine-core/example/spec/SpecHelper.js @@ -1,5 +1,5 @@ beforeEach(function() { - this.addMatchers({ + addMatchers({ toBePlaying: function(expectedSong) { var player = this.actual; return player.currentlyPlayingSong === expectedSong &&