Sha256: 41ad377d82ec1ab4c5eb5503bb91a82fcd380b5715b96a66ccf1b6d8cd95c9ae

Contents?: true

Size: 485 Bytes

Versions: 2

Compression:

Stored size: 485 Bytes

Contents

require 'test_helper'

class TestTourRequest < ::Test::Unit::TestCase

  def test_properties
    tr = MLS::TourRequest.new

    assert tr.respond_to?(:message)
  end

  def test_attr_accessors
    tr = MLS::TourRequest.new

    assert tr.respond_to?(:listing)
  end

  def test_class_methods
    assert MLS::TourRequest.respond_to?(:get_all_for_account)
    assert MLS::TourRequest.respond_to?(:create)
  end

  def test_parser
    assert defined?(MLS::TourRequest::Parser)
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mls-0.2.2 test/units/models/test_tour_request.rb
mls-0.2.1 test/units/models/test_tour_request.rb