Sha256: 759a58f3a87305b78817af1cfa1a16d4899f5e8a3df17ccc05464c4aa05efb77
Contents?: true
Size: 325 Bytes
Versions: 3
Compression:
Stored size: 325 Bytes
Contents
require File.expand_path('../../spec_helper', __FILE__) RSpec.describe Ucpaas::Sms do let(:target_class) do Class.new do include Ucpaas::Sms end end subject { target_class.new } it :send_sms do expect(subject).to receive(:post) subject.send_sms('appid', 'tmpid', 'mobile', '1', '2') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ucpaas-0.1.4 | spec/ucpaas/sms_spec.rb |
ucpaas-0.1.3 | spec/ucpaas/sms_spec.rb |
ucpaas-0.1.2 | spec/ucpaas/sms_spec.rb |