aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/reply.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/fixtures/reply.rb')
-rw-r--r--actionpack/test/fixtures/reply.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/fixtures/reply.rb b/actionpack/test/fixtures/reply.rb
index 19cba93673..047522c55b 100644
--- a/actionpack/test/fixtures/reply.rb
+++ b/actionpack/test/fixtures/reply.rb
@@ -1,6 +1,6 @@
class Reply < ActiveRecord::Base
- scope :base
- belongs_to :topic, :include => [:replies]
+ scope :base, -> { all }
+ belongs_to :topic, -> { includes(:replies) }
belongs_to :developer
validates_presence_of :content