beforeEach(function() {
  this.addMatchers({
    toBePlaying: function(expectedSong) {
      var player = this.actual;
      return player.currentlyPlayingSong === expectedSong
          && player.isPlaying;
    }
  })
});

beforeEach(function() {
  addMatchers({
    toBePlaying: function(expectedSong) {
      var player = this.actual;
      return player.currentlyPlayingSong === expectedSong
          && player.isPlaying;
    }
  })
});

Update spechelper in the rails 2 generator to reflect that addMatchers is exposed on the global namespace
Update spechelper in the rails 2 generator to reflect that addMatchers is exposed on the global namespace
