@@ -34,27 +34,27 @@ class ActionTests: QuickSpec {
3434
3535 func bindAction( action: Action < String , String > ) {
3636 action. inputs
37- . bindTo ( inputs)
37+ . bind ( to : inputs)
3838 . addDisposableTo ( disposeBag)
3939
4040 action. elements
41- . bindTo ( elements)
41+ . bind ( to : elements)
4242 . addDisposableTo ( disposeBag)
4343
4444 action. errors
45- . bindTo ( errors)
45+ . bind ( to : errors)
4646 . addDisposableTo ( disposeBag)
4747
4848 action. enabled
49- . bindTo ( enabled)
49+ . bind ( to : enabled)
5050 . addDisposableTo ( disposeBag)
5151
5252 action. executing
53- . bindTo ( executing)
53+ . bind ( to : executing)
5454 . addDisposableTo ( disposeBag)
5555
5656 action. executionObservables
57- . bindTo ( executionObservables)
57+ . bind ( to : executionObservables)
5858 . addDisposableTo ( disposeBag)
5959
6060 // Dummy subscription for multiple subcription tests
@@ -376,18 +376,18 @@ class ActionTests: QuickSpec {
376376
377377 func bindAndExecuteTwice( action: Action < String , String > ) {
378378 action. executionObservables
379- . bindTo ( executionObservables)
379+ . bind ( to : executionObservables)
380380 . addDisposableTo ( disposeBag)
381381
382382 scheduler. scheduleAt ( 10 ) {
383383 action. execute ( " a " )
384- . bindTo ( element)
384+ . bind ( to : element)
385385 . addDisposableTo ( disposeBag)
386386 }
387387
388388 scheduler. scheduleAt ( 20 ) {
389389 action. execute ( " b " )
390- . bindTo ( element)
390+ . bind ( to : element)
391391 . addDisposableTo ( disposeBag)
392392 }
393393
@@ -484,18 +484,18 @@ class ActionTests: QuickSpec {
484484 action = Action { Observable . just ( $0) . sample ( trigger) }
485485
486486 action. executionObservables
487- . bindTo ( executionObservables)
487+ . bind ( to : executionObservables)
488488 . addDisposableTo ( disposeBag)
489489
490490 scheduler. scheduleAt ( 10 ) {
491491 action. execute ( " a " )
492- . bindTo ( element)
492+ . bind ( to : element)
493493 . addDisposableTo ( disposeBag)
494494 }
495495
496496 scheduler. scheduleAt ( 20 ) {
497497 action. execute ( " b " )
498- . bindTo ( secondElement)
498+ . bind ( to : secondElement)
499499 . addDisposableTo ( disposeBag)
500500 }
501501
0 commit comments