Sha256: fc6c33e25a9902986dd926d41f8b9aff31b7b88cfa1d023732985f814d0202ee

Contents?: true

Size: 377 Bytes

Versions: 2

Compression:

Stored size: 377 Bytes

Contents

require 'test_helper'

class AvvoApi::ReviewTest < Test::Unit::TestCase

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