Sha256: 20c4630179fc037a682b0a03a3209d9152ac1e45c27b27e404ab743a4e06eca2

Contents?: true

Size: 327 Bytes

Versions: 19

Compression:

Stored size: 327 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_validate_presence_of :owner_id
end

Version data entries

19 entries across 19 versions & 7 rubygems

Version Path
Flamefork-shoulda-2.10.1 test/unit/dog_test.rb
Flamefork-shoulda-2.10.2 test/unit/dog_test.rb
francois-shoulda-2.10.1 test/unit/dog_test.rb
ratnikov-shoulda-2.9.0.1 test/unit/dog_test.rb
ratnikov-shoulda-2.9.0.2 test/unit/dog_test.rb
ratnikov-shoulda-2.9.0.3 test/unit/dog_test.rb
ratnikov-shoulda-2.9.0 test/unit/dog_test.rb
rmm5t-shoulda-2.9.1 test/unit/dog_test.rb
technicalpickles-shoulda-2.10.0 test/unit/dog_test.rb
thoughtbot-shoulda-2.10.0 test/unit/dog_test.rb
thoughtbot-shoulda-2.10.1 test/unit/dog_test.rb
thoughtbot-shoulda-2.9.0 test/unit/dog_test.rb
thoughtbot-shoulda-2.9.1 test/unit/dog_test.rb
thoughtbot-shoulda-2.9.2 test/unit/dog_test.rb
shoulda-2.9.0 test/unit/dog_test.rb
shoulda-2.9.1 test/unit/dog_test.rb
shoulda-2.9.2 test/unit/dog_test.rb
shoulda-2.10.0 test/unit/dog_test.rb
shoulda-2.10.1 test/unit/dog_test.rb