diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-08-29 09:26:53 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-08-29 09:26:53 +0200 |
commit | 82a9ce86f1041fced63b008597d4d8ad9671d941 (patch) | |
tree | 0e817febda0bb0bb5af566b394d10a769d8f376f /activerecord | |
parent | 3cce387a1d9d276f984acad2c64f3df5a82ae631 (diff) | |
parent | 2c8badddc9562914b76f945f415c70fa01230fc0 (diff) | |
download | rails-82a9ce86f1041fced63b008597d4d8ad9671d941.tar.gz rails-82a9ce86f1041fced63b008597d4d8ad9671d941.tar.bz2 rails-82a9ce86f1041fced63b008597d4d8ad9671d941.zip |
Merge pull request #16739 from y-yagi/patch-6
[ci skip] Fix example code of ActiveRecord::FixtureSet.context_class
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/fixtures.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 727f12103a..a85ba6b539 100644 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -126,7 +126,7 @@ module ActiveRecord # that is included in <tt>ActiveRecord::FixtureSet.context_class</tt>. # # - define a helper method in `test_helper.rb` - # class FixtureFileHelpers + # module FixtureFileHelpers # def file_sha(path) # Digest::SHA2.hexdigest(File.read(Rails.root.join('test/fixtures', path))) # end |