Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
refactor: minnor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartinstw committed Aug 15, 2019
1 parent 01bb6b6 commit 6e6561e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Clappr_Tests/CoreTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ class CoreTests: QuickSpec {
core.addPlugin(mediaControlPluginMock)
core.render()

expect(mediaControlMock.didCallRenderPlugins).to(beTrue())
expect(mediaControlMock.didCallRenderElements).to(beTrue())
}
#endif

Expand Down Expand Up @@ -810,10 +810,10 @@ class CorePluginMock: CorePlugin {

#if os(iOS)
private class MediaControlMock: MediaControl {
var didCallRenderPlugins = false
var didCallRenderElements = false

override func renderElements(_ plugins: [MediaControl.Element]) {
didCallRenderPlugins = true
didCallRenderElements = true
}
}
#endif

0 comments on commit 6e6561e

Please sign in to comment.