Skip to content

Commit

Permalink
fix tests in psql by stating explicit ORDER
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.techno-weenie.net/projects/plugins/acts_as_versioned@923 567b1171-46fb-0310-a4c9-b4bef9110e78
  • Loading branch information
technoweenie committed Mar 2, 2006
1 parent c0ee404 commit 1b07009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/fixtures/page.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 1b07009

Please sign in to comment.