test/test_aninipot.rb in aninipot-0.0.1 vs test/test_aninipot.rb in aninipot-0.0.2
- old
+ new
@@ -7,17 +7,17 @@
@client = initialize_rest_client
end
def initialize_rest_client
Aninipot::Client.configure do |config|
- config.api = config_file['api'].to_s
+ 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("+639275866897", "Test Data")
+ response = @client.send_sms("+639176230655", "Test Data")
rescue Exception => e
e.message.must_equal Aninipot::Response.new(200).to_s
end
end
end
\ No newline at end of file