                 describe("#idle") {
                     context("when ready to play") {
                         it("current state must be idle") {
-                            let playback = AVFoundationPlayback()
+                            let options = [kSourceUrl: "http://localhost:8080/sample.m3u8"]
+                            let playback = AVFoundationPlayback(options: options)
                             
                             expect(playback.currentState).to(equal(.idle))
                         }

                describe("#playing") {
                    context("when paused is called") {
                        it("changes current state to paused") {
                            let playback = AVFoundationPlayback()
                            
                            playback.play()
                            playback.pause()

                            expect(playback.isBuffering).toEventually(beFalse(), timeout: 3)
                            expect(playback.isPlaying).toEventually(beFalse(), timeout: 3)
                            expect(playback.isPaused).to(beTrue())
                            expect(playback.currentState).to(equal(.paused))
                        }
                    }

                            expect(playback.currentState).to(equal(.buffering))
                            expect(playback.isBuffering).to(beTrue())
                            expect(playback.isPaused).to(beFalse())
                            expect(playback.isPlaying).to(beTrue())
                        }
                    }
                    
                    context("when paused is called") {
                        it("changes state to paused") {
                            let options = [kSourceUrl: "http://localhost:8080/sample.m3u8"]
                            let playback = AVFoundationPlayback(options: options)
                            
                            playback.play()
                            playback.pause()
