Sha256: ad2be6d82bf0b0835ebc0c443b7191228ec8bfe7fbb4ac92a4734f81b32535c1

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

require File.dirname(__FILE__) + '/../../test_helper'

class HasAndBelongsToManyAssociationTest < Test::Unit::TestCase
  include ActiveRecord::Associations
  
  def test_should_not_raise_exception
    assert_nothing_raised ArgumentError do
      posts(:welcome).categories
      categories(:announcements).posts
    end
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
jodosha-cached-models-0.0.3 test/active_record/associations/has_and_belongs_to_many_association_test.rb
cached-models-0.0.3 test/active_record/associations/has_and_belongs_to_many_association_test.rb