Permalink
Browse files

Constant look-up would no longer fall back to top-level constant sinc…

  • Loading branch information...
1 parent 4ee3a8f commit 3d91649654ff5570d0cf26f96ec9f82f31fe32f6 @amatsuda amatsuda committed Jan 13, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/test/core_ext/module_test.rb
@@ -35,10 +35,10 @@ def self.table_name
"some_table"
end
- FAILED_DELEGATE_LINE = __LINE__ + 1
+ self::FAILED_DELEGATE_LINE = __LINE__ + 1
delegate :foo, to: :place
- FAILED_DELEGATE_LINE_2 = __LINE__ + 1
+ self::FAILED_DELEGATE_LINE_2 = __LINE__ + 1
delegate :bar, to: :place, allow_nil: true
private

0 comments on commit 3d91649

Please sign in to comment.