socialforge/spec/utils/sms_spec.rb

13 lines
242 B
Ruby
Raw Normal View History

#coding=utf-8
require 'rails_helper'
describe "短信发送" do
it "可以成功发送,当参数正确时" do
status = Trustie::Sms.send(mobile: "15388083362", code: '1234')
expect(status).to be true
end
2017-03-12 16:53:47 +08:00
end