Sha256: 4fe5ff7dba0c2e25771ffec78af8628dafbb38ed49d73e5b77dccfba951dedd0

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

require 'test_helper'

class AvvoApi::SchoolTest < Test::Unit::TestCase

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