Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Commit

Permalink
add some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Jan 25, 2012
1 parent 2177584 commit bd3ceff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/models/story.rb
Expand Up @@ -3,7 +3,7 @@ class Story < ActiveRecord::Base
belongs_to :responsible_user, :class_name => "User"

attr_accessible :title, :body, :responsible_user
#validates :title, :presence => true,
# :length => { :maximum => 256 }
#validates :body, :presence => true
validates :title, :presence => true,
:length => { :maximum => 256 }
validates :body, :presence => true
end

0 comments on commit bd3ceff

Please sign in to comment.