trustieforge/spec/utils/sms_spec.rb

13 lines
230 B
Ruby

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