Sha256: 7c6bc7c98816ac5cbf5545c60def29ddeb06af5874b2c545b3cd8900bf501efc

Contents?: true

Size: 385 Bytes

Versions: 2

Compression:

Stored size: 385 Bytes

Contents

require 'test_helper'

class AvvoApi::LanguageTest < Test::Unit::TestCase

  context "AvvoApi::Language" do
    should "belong_to :lawyer" do
      assert_contains(AvvoApi::Language.belongs_to_associations.map(&:attribute), :lawyer)
    end
    should "belong_to :doctor" do
      assert_contains(AvvoApi::Language.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/language_test.rb
avvo_api-0.1.0 test/unit/language_test.rb