Sha256: 3cf1b1a2bc259f3a8731ef7d3e8ef99054b17f18d1ae9662caf2e2e295ea617a
Contents?: true
Size: 415 Bytes
Versions: 91
Compression:
Stored size: 415 Bytes
Contents
require 'test_helper' class PostTest < ActiveSupport::TestCase fixtures :all should_belong_to :user should_belong_to :owner should_have_many :tags, :through => :taggings should_have_many :through_tags, :through => :taggings should_validate_uniqueness_of :title should_validate_presence_of :body, :message => /wtf/ should_validate_presence_of :title should_validate_numericality_of :user_id end
Version data entries
91 entries across 61 versions & 10 rubygems