Sha256: 4f08593e0d4a12ce9f4f80c61d0c53941be59dbf099ffabe77fc278b6e024977
Contents?: true
Size: 524 Bytes
Versions: 2
Compression:
Stored size: 524 Bytes
Contents
require_relative 'test_helper' require_relative '../lib/aninipot' describe Aninipot do before do @client = initialize_rest_client end def initialize_rest_client Aninipot::Client.configure do |config| config.api = config_file['api'] config.from = config_file['from'] end end it 'should be able to send sms' do begin response = @client.send_sms("+639176230655", "Test Data") rescue Exception => e e.message.must_equal Aninipot::Response.new(200).to_s end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aninipot-0.0.3 | test/test_aninipot.rb |
aninipot-0.0.2 | test/test_aninipot.rb |