Permalink
Browse files

Clarify failed assertion

  • Loading branch information...
1 parent feaa762 commit 703d31c20a7b531053d5c009972a89e857b07376 @jeremy jeremy committed Nov 10, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/relations_test.rb
@@ -78,7 +78,7 @@ def test_relation_responds_to_delegated_methods
relation = Topic.all
["map", "uniq", "sort", "insert", "delete", "update"].each do |method|
- assert relation.respond_to?(method)
+ assert relation.respond_to?(method), "Topic.all should respond to #{method.inspect}"
end
end

0 comments on commit 703d31c

Please sign in to comment.