aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/fixtures/reply.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-03-22 21:45:56 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-03-23 10:32:51 -0300
commitab287c53195bcb091b28e9cdd8038b6815909eaf (patch)
treec7fccc944bee6b4b18cea3fe5840b0a6e1d71a4c /actionpack/test/fixtures/reply.rb
parent35e8de63446562b2e50784e99626a602c65f90ad (diff)
downloadrails-ab287c53195bcb091b28e9cdd8038b6815909eaf.tar.gz
rails-ab287c53195bcb091b28e9cdd8038b6815909eaf.tar.bz2
rails-ab287c53195bcb091b28e9cdd8038b6815909eaf.zip
Use the new scope syntax
Diffstat (limited to 'actionpack/test/fixtures/reply.rb')
-rw-r--r--actionpack/test/fixtures/reply.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/fixtures/reply.rb b/actionpack/test/fixtures/reply.rb
index 19cba93673..0d3b0a7c98 100644
--- a/actionpack/test/fixtures/reply.rb
+++ b/actionpack/test/fixtures/reply.rb
@@ -1,5 +1,5 @@
class Reply < ActiveRecord::Base
- scope :base
+ scope :base, -> { scoped }
belongs_to :topic, :include => [:replies]
belongs_to :developer