diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-03-23 06:48:42 -0700 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-03-23 06:48:42 -0700 |
commit | 9a26c9035f8d799bc88786f300dd260312ac5957 (patch) | |
tree | c7fccc944bee6b4b18cea3fe5840b0a6e1d71a4c | |
parent | 35e8de63446562b2e50784e99626a602c65f90ad (diff) | |
parent | ab287c53195bcb091b28e9cdd8038b6815909eaf (diff) | |
download | rails-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.rb | 2 |
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 |