diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-11-25 00:47:59 -0800 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-11-25 00:47:59 -0800 |
commit | 7ccb482181ee6c47c765406009018a15172812de (patch) | |
tree | cfc687a56e62b26875e9465785bf402d52107e80 | |
parent | 051a520b8c920cd6ed15f9e237343a306b7bdfa0 (diff) | |
parent | 5a406ff42ec76b93ff900468beab0dce790514dc (diff) | |
download | rails-7ccb482181ee6c47c765406009018a15172812de.tar.gz rails-7ccb482181ee6c47c765406009018a15172812de.tar.bz2 rails-7ccb482181ee6c47c765406009018a15172812de.zip |
Merge pull request #13029 from akshay-vishnoi/documentation
`delgated` => `delegated`
-rw-r--r-- | activerecord/test/cases/relation/delegation_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/test/cases/relation/delegation_test.rb b/activerecord/test/cases/relation/delegation_test.rb index 7f99b6841f..13677797cf 100644 --- a/activerecord/test/cases/relation/delegation_test.rb +++ b/activerecord/test/cases/relation/delegation_test.rb @@ -32,12 +32,12 @@ module ActiveRecord end [:map, :collect].each do |method| - test "##{method} is delgated" do + test "##{method} is delegated" do assert_responds(target, method) assert_equal(target.pluck(:body), target.send(method) {|post| post.body }) end - test "##{method}! is not delgated" do + test "##{method}! is not delegated" do assert_deprecated do assert_responds(target, "#{method}!") end @@ -68,12 +68,12 @@ module ActiveRecord end [:map, :collect].each do |method| - test "##{method} is delgated" do + test "##{method} is delegated" do assert_responds(target, method) assert_equal(target.pluck(:body), target.send(method) {|post| post.body }) end - test "##{method}! is not delgated" do + test "##{method}! is not delegated" do assert_deprecated do assert_responds(target, "#{method}!") end |