aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortechnoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78>2006-03-02 02:57:56 +0000
committertechnoweenie <technoweenie@567b1171-46fb-0310-a4c9-b4bef9110e78>2006-03-02 02:57:56 +0000
commit1b07009bb03cb94a7100a01c51970d4aaa9d09e9 (patch)
treec03de6969dc555d5899f444716e9577c43fb3791
parentc0ee4043ffac5639f55cc092c4bc89d597e2e5bb (diff)
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
-rw-r--r--test/fixtures/page.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixtures/page.rb b/test/fixtures/page.rb
index 064d1b247..f133e351a 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