Sha256: 91702271155d74f24be02d7e4b823533b84167716ecde2d53c3b2b122e3b0e3c
Contents?: true
Size: 341 Bytes
Versions: 3
Compression:
Stored size: 341 Bytes
Contents
require 'yopass/sms_provider/bulksms' require 'spec_helper' describe 'bulksms' do it 'should send sms' do sms = Bulksms.new( 'username' => 'foobar', 'password' => '123', 'sender' => 'YoPass') Bulksms.any_instance.stub(:send).and_return(true) sms.send('467022123', 'decryption_key').should == true end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
yopass-2.0.0 | spec/bulksms_spec.rb |
yopass-1.1.5 | spec/bulksms_spec.rb |
yopass-1.1.4 | spec/bulksms_spec.rb |