aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases')
-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