aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-03-23 06:48:42 -0700
committerPiotr Sarnacki <drogus@gmail.com>2012-03-23 06:48:42 -0700
commit9a26c9035f8d799bc88786f300dd260312ac5957 (patch)
treec7fccc944bee6b4b18cea3fe5840b0a6e1d71a4c
parent35e8de63446562b2e50784e99626a602c65f90ad (diff)
parentab287c53195bcb091b28e9cdd8038b6815909eaf (diff)
downloadrails-9a26c9035f8d799bc88786f300dd260312ac5957.tar.gz
rails-9a26c9035f8d799bc88786f300dd260312ac5957.tar.bz2
rails-9a26c9035f8d799bc88786f300dd260312ac5957.zip
Merge pull request #5556 from rafaelfranca/remove-warning
use the new scope syntax on the tests to avoid DEPRECATION WARNINGS.
-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