Sha256: 3416afe68c783b8dfee9a0bb1c120a027ce105ed0d61344cafea2ca2391b6bb7

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

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

include Rumeme

class ConfigurationTest < Test::Unit::TestCase
  context "has attributes" do
    setup do
      @rumeme_configuration = Configuration.new
    end

    should "have username attribute" do
      assert_respond_to @rumeme_configuration, :username
    end

    should "have password attribute" do
      assert_respond_to @rumeme_configuration, :password
    end

    should "have use_message_id attribute" do
      assert_respond_to @rumeme_configuration, :use_message_id
    end

    should "have secure attribute" do
      assert_respond_to @rumeme_configuration, :secure
    end

    should "have replies_auto_confirm attribute" do
      assert_respond_to @rumeme_configuration, :replies_auto_confirm
    end

    should "have long_messages_strategy attribute" do
      assert_respond_to @rumeme_configuration, :long_messages_strategy
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rumeme-0.4.1 test/configuration_test.rb