aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2013-11-25 14:09:44 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2013-11-25 14:09:44 +0530
commit5a406ff42ec76b93ff900468beab0dce790514dc (patch)
tree16fd4389affc2dd710498eb3badb053f6d065758
parent5190f3a05cffea1a44d17407d633aa05e0de9ab3 (diff)
downloadrails-5a406ff42ec76b93ff900468beab0dce790514dc.tar.gz
rails-5a406ff42ec76b93ff900468beab0dce790514dc.tar.bz2
rails-5a406ff42ec76b93ff900468beab0dce790514dc.zip
`delgated` => `delegated`
-rw-r--r--activerecord/test/cases/relation/delegation_test.rb8
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