Fix MassAssignmentSecurity::Error in integration test.

This commit is contained in:
Pete Higgins 2012-04-01 16:23:15 -07:00 committed by Uģis Ozols
parent e9406d2693
commit 172134f971

View file

@ -11,6 +11,8 @@ module Refinery
validates :title, :presence => true, :uniqueness => true
attr_accessible :title
def post_count
posts.select(&:live?).count
end
@ -20,4 +22,4 @@ module Refinery
end
end
end
end