Permalink
Browse files

Merge pull request #13029 from akshay-vishnoi/documentation

`delgated` => `delegated`
  • Loading branch information...
2 parents 051a520 + 5a406ff commit 7ccb482181ee6c47c765406009018a15172812de @senny senny committed Nov 25, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 activerecord/test/cases/relation/delegation_test.rb
@@ -32,12 +32,12 @@ def target
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 @@ def target
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

0 comments on commit 7ccb482

Please sign in to comment.