File tree Expand file tree Collapse file tree 4 files changed +23
-2
lines changed
Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 7979- attributes
8080+ sharedButton
8181- configureWithApplicationId:completion:
82+ - configureWithApplicationId:userId:completion:
8283- setDeferredDeeplinkHandler:
8384- willDisplayButtonWithId:context:completion:
8485- fetchAppActionWithButtonId:context:completion:
Original file line number Diff line number Diff line change 11PODS:
2- - Button (4.5 .0)
2+ - Button (4.9 .0)
33 - Expecta (1.0.5)
44 - OCMock (3.3)
55 - Specta (1.0.5)
@@ -15,7 +15,7 @@ EXTERNAL SOURCES:
1515 :path: ..
1616
1717SPEC CHECKSUMS:
18- Button: e1a396db2f1864d94a86939e98156b227f1c9f29
18+ Button: fa782e625202a15e46a3ca54a2f612698bcb5018
1919 Expecta: e1c022fcd33910b6be89c291d2775b3fe27a89fe
2020 OCMock: d68685bde31f69cb61d518dcb39269080c78b5ed
2121 Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2
Original file line number Diff line number Diff line change 5151
5252 });
5353
54+ describe (@" configureWithApplicationId:userId:completion:" , ^{
55+
56+ it (@" is a valid selector" , ^{
57+ expect ([Button instancesRespondToSelector: @selector (configureWithApplicationId:userId:completion: )])
58+ .to
59+ .beTruthy ();
60+ });
61+
62+ it (@" takes the expected argument types" , ^{
63+ [mockedButton configureWithApplicationId: @" application-id" userId: @" user-id"
64+ completion: ^(NSError *error, NSURL *targetURL) { }];
65+ });
66+
67+ });
68+
5469 describe (@" setDeferredDeeplinkHandler:" , ^{
5570
5671 it (@" is a valid selector" , ^{
6075 });
6176
6277 it (@" takes the expected argument types" , ^{
78+ #pragma clang diagnostic push
79+ #pragma clang diagnostic ignored "-Wdeprecated-declarations"
6380 [mockedButton setDeferredDeeplinkHandler: ^(NSURL *deferredDeeplinkURL) {}];
81+ #pragma clang diagnostic pop
6482 });
6583
6684 });
Original file line number Diff line number Diff line change 620620 buildSettings = {
621621 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
622622 INFOPLIST_FILE = Tests/Info.plist;
623+ IPHONEOS_DEPLOYMENT_TARGET = 8.2;
623624 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
624625 PRODUCT_BUNDLE_IDENTIFIER = Button.Tests;
625626 PRODUCT_NAME = "$(TARGET_NAME)";
631632 buildSettings = {
632633 ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
633634 INFOPLIST_FILE = Tests/Info.plist;
635+ IPHONEOS_DEPLOYMENT_TARGET = 8.2;
634636 LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
635637 PRODUCT_BUNDLE_IDENTIFIER = Button.Tests;
636638 PRODUCT_NAME = "$(TARGET_NAME)";
You can’t perform that action at this time.
0 commit comments