ficonabses 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/test/test_localone.rb +15 -14
  2. metadata +2 -2
@@ -10,20 +10,21 @@ class TestFiconabses < Test::Unit::TestCase
10
10
  @tsipid ='7923044488'
11
11
  end
12
12
 
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_apn_template_params
20
- options={}
21
- options['hello']='TESTING'
22
- res =@f.send_template_params(@tsipid,'buycredit',options) #no text portion
23
- puts "RES is: #{res}"
24
- assert res.include? '200'
25
- assert false==(res.include? 'Error')
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
- end
28
+ end
28
29
 
29
30
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Scott Sproule