                     it("triggers event assetAvailable") {
                         let options = [kSourceUrl: "http://clappr.sample/master.m3u8"]
                         let playback = AVFoundationPlayback(options: options)
+                        playback.render()
                         var didTriggerAssetReady = false
 
                         playback.on(Event.assetReady.rawValue) { _ in

                context("when did change bounds") {
                    it("sets preferredMaximumResolution according to playback bounds size") {
                        let playback = AVFoundationPlayback(options: [kSourceUrl: "http://clappr.io/slack.mp4"])

                        playback.play()
                        playback.view.bounds = CGRect(x: 0, y: 0, width: 200, height: 200)
                        let playerSize = playback.view.bounds.size

                        playback = AVFoundationPlayback(options: options)
                        playback.nowPlayingService = nowPlayingService

                        playback.render()
                        playback.play()

                        expect(nowPlayingService.countOfCallsOfSetItems).toEventually(equal(1))
