Skip to content

Commit

Permalink
Merge pull request rails#5556 from rafaelfranca/remove-warning
Browse files Browse the repository at this point in the history
use the new scope syntax on the tests to avoid DEPRECATION WARNINGS.
  • Loading branch information
drogus committed Mar 23, 2012
2 parents 35e8de6 + ab287c5 commit 9a26c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/test/fixtures/reply.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
class Reply < ActiveRecord::Base
scope :base
scope :base, -> { scoped }
belongs_to :topic, :include => [:replies]
belongs_to :developer

Expand Down

0 comments on commit 9a26c90

Please sign in to comment.