From dece4624fb29eed8e6b9575bba93e88268502f7d Mon Sep 17 00:00:00 2001 From: nathanvda Date: Mon, 12 Mar 2012 23:48:07 +0100 Subject: [PATCH] Make sure that the tests can run on all platforms, do not use 1.9 hash syntax. --- spec/dummy/app/models/post.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/dummy/app/models/post.rb b/spec/dummy/app/models/post.rb index 5d6bbd4..acab7f4 100644 --- a/spec/dummy/app/models/post.rb +++ b/spec/dummy/app/models/post.rb @@ -1,5 +1,5 @@ class Post < ActiveRecord::Base 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 end