Skip to content

Commit

Permalink
Updated tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow committed Dec 7, 2015
1 parent 7de45c6 commit 4b0b586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Demo/DemoTests/ButtonTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ButtonTests: QuickSpec {
// Normally I'd use subject.sendActionsForControlEvents(.TouchUpInside) but it's not working
for target in subject.allTargets() {
for action in subject.actionsForTarget(target, forControlEvent: .TouchUpInside) ?? [] {
target.performSelector(Selector(action))
target.performSelector(Selector(action), withObject: subject)
}
}

Expand Down

0 comments on commit 4b0b586

Please sign in to comment.