percy/lib/app_percy.rb in percy-appium-app-0.0.8 vs percy/lib/app_percy.rb in percy-appium-app-1.0.0

- old
+ new

@@ -52,9 +52,15 @@ if test_case && !test_case.is_a?(String) raise TypeError, 'Argument test_case should be a String' end + labels = kwargs[:labels] + if labels && !labels.is_a?(String) + raise TypeError, + 'Argument labels should be a String' + end + th_test_case_execution_id = kwargs[:th_test_case_execution_id] if th_test_case_execution_id && !th_test_case_execution_id.is_a?(String) raise TypeError, 'Argument th_test_case_execution_id should be a String' end