o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1314721314.7516742n: @value{I" class:EFI"BundledAsset; FI"id; F"%26a488288cd4b82b708299d5a81391c0I"logical_path; FI"$jasmine_examples/player_spec.js; FI" pathname; FI"B$root/spec/javascripts/jasmine_examples/player_spec.js.coffee; FI"content_type; FI"application/javascript; FI" mtime; FI"2011-08-30T10:15:36-06:00; FI" body; FI"—(function() { var __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; }; describe('Player', function() { beforeEach(function() { this.player = new Player(); return this.song = new Song(); }); it('should be able to play a Song', function() { this.player.play(this.song); expect(this.player.currentlyPlayingSong).toEqual(this.song); return expect(this.player).toBePlaying(this.song); }); describe('when song has been paused', function() { beforeEach(function() { this.player.play(this.song); return this.player.pause(); }); it('should indicate that the song is currently paused', function() { expect(this.player.isPlaying).toBeFalsy(); return expect(this.player).not.toBePlaying(this.song); }); return it('should be possible to resume', function() { this.player.resume(); expect(this.player.isPlaying).toBeTruthy(); return expect(this.player.currentlyPlayingSong).toEqual(this.song); }); }); xit('tells the current song if the user has made it a favorite', function() { var spy; spy = sinon.spy(this.song, 'persistFavoriteStatus'); this.player.play(this.song); this.player.makeFavorite(); return expect(spy).toHaveBeenCalled(); }); return describe('#resume', function() { return it('should throw an exception if song is already playing', function() { this.player.play(this.song); return expect(__bind(function() { return this.player.resume(); }, this)).toThrow('song is already playing'); }); }); }); }).call(this); ; TI"asset_paths; F[I"B$root/spec/javascripts/jasmine_examples/player_spec.js.coffee; FI"dependency_paths; F[{I" path; FI"B$root/spec/javascripts/jasmine_examples/player_spec.js.coffee; FI" mtime; FIu: Time Ð߀@>: @_zone"MDT: offsetiþ «I"hexdigest; F"%e787e02239a815ea90953edc68892f2eI" _version; F"%bb86174cee9b8a939ac3885b2d18e284