Sha256: 581b0c0ec99535d7bec4f6c7bc1fdc8c7e04197512412ad900d9044d6f6b1517

Contents?: true

Size: 389 Bytes

Versions: 2

Compression:

Stored size: 389 Bytes

Contents

require 'test_helper'

class AvvoApi::SpecialtyTest < Test::Unit::TestCase

  context "AvvoApi::Specialty" do
    should "belong_to :lawyer" do
      assert_contains(AvvoApi::Specialty.belongs_to_associations.map(&:attribute), :lawyer)
    end
    should "belong_to :doctor" do
      assert_contains(AvvoApi::Specialty.belongs_to_associations.map(&:attribute), :doctor)
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
avvo_api-0.1.1 test/unit/specialty_test.rb
avvo_api-0.1.0 test/unit/specialty_test.rb