             return true
         }
     }
-    
+
     class SpecialStubPlayback: Playback {
         override var pluginName: String {
             return "SpecialStubPlayback"
         }
-        
+
         override class func canPlay(_ options: Options) -> Bool {
             return options[kSourceUrl] as! String == PlayerTests.specialSource
         }


class PlayerTests: QuickSpec {
    static let specialSource = "specialSource"
    
    override func spec() {
        describe(".Player") {
            let options: Options = [kSourceUrl: "http://clappr.com/video.mp4"]

                        let loggerPlugin = player.core?.plugins.first { $0 is LoggerPlugin }
                        expect(loggerPlugin).to(beAKindOf(LoggerPlugin.self))
                    }

                    it("pass plugins to Loader") {
                        Loader.shared.resetPlugins()

                        Player.register(plugins: [LoggerPlugin.self])
                        player = Player(options: options)

                        let loggerPlugin = Loader.shared.corePlugins.first { $0.name == "Logger" }
                        expect(loggerPlugin).to(beAKindOf(LoggerPlugin.Type.self))
                    }
