From 1b07009bb03cb94a7100a01c51970d4aaa9d09e9 Mon Sep 17 00:00:00 2001 From: technoweenie Date: Thu, 2 Mar 2006 02:57:56 +0000 Subject: [PATCH] fix tests in psql by stating explicit ORDER git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@923 567b1171-46fb-0310-a4c9-b4bef9110e78 --- test/fixtures/page.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fixtures/page.rb b/test/fixtures/page.rb index 064d1b2..f133e35 100644 --- a/test/fixtures/page.rb +++ b/test/fixtures/page.rb @@ -1,8 +1,8 @@ class Page < ActiveRecord::Base belongs_to :author - has_many :authors, :through => :versions + has_many :authors, :through => :versions, :order => 'name' belongs_to :revisor, :class_name => 'Author' - has_many :revisors, :class_name => 'Author', :through => :versions + has_many :revisors, :class_name => 'Author', :through => :versions, :order => 'name' acts_as_versioned :if => :feeling_good? do def self.included(base) base.cattr_accessor :feeling_good