We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
brand
1 parent 6719e10 commit 6469e2fCopy full SHA for 6469e2f
test/vonage/verify2_test.rb
@@ -77,6 +77,22 @@ def test_start_verification_method_without_brand
77
end
78
79
80
+ def test_start_verification_method_wit_brand_too_short
81
+ workflow = [{channel: 'sms', to: to_number}]
82
+
83
+ assert_raises ArgumentError do
84
+ verify2.start_verification(brand: '', workflow: workflow)
85
+ end
86
87
88
+ def test_start_verification_method_wit_brand_too_long
89
90
91
92
+ verify2.start_verification(brand: 'abcdefghijklmnopq', workflow: workflow)
93
94
95
96
def test_start_verification_method_without_workflow
97
assert_raises ArgumentError do
98
verify2.start_verification(brand: brand)
0 commit comments