                 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))
                         }

                            playback.play()
                            playback.pause()
                            playback.play()

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

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

