Sha256: 7a4336011241a593e0d8fab5a1936d20cd145483a2aace105596043943cec43f

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

require 'spec_helper'

describe Tincan::SMS do

  it 'should explode if you try to send without a sender' do
    p = proc { Tincan::SMS.send(Tincan::PhoneNumber.create!('+17174683737'), 'body') }
    p.must_raise Tincan::SMS::NoSmsSenderError
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tincan-0.1.6 spec/unit/sms_spec.rb
tincan-0.1.5 spec/unit/sms_spec.rb