Browse files

`delgated` => `delegated`

  • Loading branch information...
1 parent 5190f3a commit 5a406ff42ec76b93ff900468beab0dce790514dc @akshay-vishnoi akshay-vishnoi committed Nov 25, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 activerecord/test/cases/relation/delegation_test.rb
View
8 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 5a406ff

Please sign in to comment.