You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pgfqe6ch8/spec/utils/sms_spec.rb

13 lines
230 B

6 years ago
#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