Sha256: 87f8260cc06643f71312db7f9b96daffa8c10deeaaa7c351b3890833e9405d4b

Contents?: true

Size: 430 Bytes

Versions: 17

Compression:

Stored size: 430 Bytes

Contents

require "test_helper"

class TestBellsouthNet < Test::Unit::TestCase
  include MMS2R::TestHelper

  def test_image_from_blackberry
    mail = mail('suncom-blackberry.mail')
    mms = MMS2R::Media.new(mail)

    assert_equal "2068675309", mms.number
    assert_nil mms.media['text/plain']

    assert_not_nil mms.media['image/jpeg'].first
    assert_match(/\/IMG00065\.jpg$/, mms.media['image/jpeg'].first)
    mms.purge
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
mms2r-3.9.2 test/test_bellsouth_net.rb
mms2r-3.9.1 test/test_bellsouth_net.rb
mms2r-3.9.0 test/test_bellsouth_net.rb
mms2r-3.8.2 test/test_bellsouth_net.rb
mms2r-3.8.1 test/test_bellsouth_net.rb
mms2r-3.8.0 test/test_bellsouth_net.rb
mms2r-3.7.1 test/test_bellsouth_net.rb
mms2r-3.7.0 test/test_bellsouth_net.rb
mms2r-3.6.4 test/test_bellsouth_net.rb
mms2r-3.6.3 test/test_bellsouth_net.rb
mms2r-3.6.2 test/test_bellsouth_net.rb
mms2r-3.6.1 test/test_bellsouth_net.rb
mms2r-3.6.0 test/test_bellsouth_net.rb
mms2r-3.5.1 test/test_bellsouth_net.rb
mms2r-3.5.0 test/test_bellsouth_net.rb
mms2r-3.4.1 test/test_bellsouth_net.rb
mms2r-3.4.0 test/test_bellsouth_net.rb