ficonabses 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/test/test_localone.rb +15 -14
- metadata +2 -2
data/test/test_localone.rb
CHANGED
@@ -10,20 +10,21 @@ class TestFiconabses < Test::Unit::TestCase
|
|
10
10
|
@tsipid ='7923044488'
|
11
11
|
end
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
13
|
+
# def test_local_send_text
|
14
|
+
# res= @f.send_textemail(@destination,"'LOCALHOST': #{@f.host}",'contents of the email')
|
15
|
+
# puts "RES is: #{res}"
|
16
|
+
# assert res.include? '200'
|
17
|
+
# assert false==(res.include? 'Error')
|
18
|
+
# end
|
19
|
+
def test_local_campaign_flow
|
20
|
+
options={}
|
21
|
+
options['hello']='TESTING'
|
22
|
+
options['bcinfo']='+6590683565'
|
23
|
+
res =@f.send_campaign_flow(@destination,'testcampaign',options) #no text portion
|
24
|
+
puts "RES is: #{res}"
|
25
|
+
assert res.include? '200'
|
26
|
+
assert false==(res.include? 'Error')
|
26
27
|
|
27
|
-
|
28
|
+
end
|
28
29
|
|
29
30
|
end
|