Sha256: b61a99051326b2db40684da00e525c7ed16073c575a85f7bc847e91900901596

Contents?: true

Size: 325 Bytes

Versions: 3

Compression:

Stored size: 325 Bytes

Contents

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

class Pets::DogTest < Test::Unit::TestCase
  should_belong_to :user
  should_belong_to :address, :dependent => :destroy
  should_have_many :treats
  should_have_and_belong_to_many :fleas
  should_require_attributes :treats, :fleas
  should_require_attributes :owner_id
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ratnikov-shoulda-2.0.6.1 test/unit/dog_test.rb
ratnikov-shoulda-2.0.6.2 test/unit/dog_test.rb
ratnikov-shoulda-2.0.6.3 test/unit/dog_test.rb