Sha256: b376612e284db8bd4e02f51ad93767c23abdb5cff8afc5659545574728ffeb77

Contents?: true

Size: 472 Bytes

Versions: 1

Compression:

Stored size: 472 Bytes

Contents

$LOAD_PATH.unshift File.expand_path(File.join(File.dirname(__FILE__), "..", "lib"))
require 'test/unit'
require "rubygems"
require 'shoulda'
require "rumeme"

class MessageStatusTest < Test::Unit::TestCase
  should "correctly assign MessageStatus constants" do
    assert_equal Rumeme::MessageStatus::NONE, 0
    assert_equal Rumeme::MessageStatus::PENDING, 1
    assert_equal Rumeme::MessageStatus::DELIVERED, 2
    assert_equal Rumeme::MessageStatus::FAILED, 3
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rumeme-0.4.1 test/message_status_test.rb