Make sure that the tests can run on all platforms, do not use 1.9 hash syntax.

This commit is contained in:
nathanvda 2012-03-12 23:48:07 +01:00
parent 52525b0715
commit dece4624fb

View File

@ -1,5 +1,5 @@
class Post < ActiveRecord::Base class Post < ActiveRecord::Base
has_many :comments has_many :comments
has_many :admin_comments, class_name: "Comment", :conditions => { :author => "Admin" } has_many :admin_comments, :class_name => "Comment", :conditions => { :author => "Admin" }
has_many :people has_many :people
end end