Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (8 sloc) 0.321 kb
require File.dirname(__FILE__) + '/../test_helper'
class AddressTest < Test::Unit::TestCase
fixtures :all
should_belong_to :addressable
should_validate_uniqueness_of :title, :scoped_to => [:addressable_id, :addressable_type]
should_ensure_length_at_least :zip, 5
should_only_allow_numeric_values_for :zip
end
Jump to Line
Something went wrong with that request. Please try again.