aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRay Baxter <ray.baxter@gmail.com>2011-06-26 15:16:29 -0700
committerRay Baxter <ray.baxter@gmail.com>2011-06-26 15:16:29 -0700
commit8c110387f442aeaf19357f44fb20c2464a4f2754 (patch)
tree7cf3f1617ea0237a73ac446f5556efb31e3e5a37 /activesupport
parent732690589ed4f12d48bcc1b97f88768b968b8162 (diff)
downloadrails-8c110387f442aeaf19357f44fb20c2464a4f2754.tar.gz
rails-8c110387f442aeaf19357f44fb20c2464a4f2754.tar.bz2
rails-8c110387f442aeaf19357f44fb20c2464a4f2754.zip
correct error message for failed creation
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/testing/assertions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/testing/assertions.rb b/activesupport/lib/active_support/testing/assertions.rb
index 05da50e150..3864b1f5a6 100644
--- a/activesupport/lib/active_support/testing/assertions.rb
+++ b/activesupport/lib/active_support/testing/assertions.rb
@@ -68,7 +68,7 @@ module ActiveSupport
#
# A error message can be specified.
#
- # assert_no_difference 'Article.count', "An Article should not be destroyed" do
+ # assert_no_difference 'Article.count', "An Article should not be created" do
# post :create, :article => invalid_attributes
# end
def assert_no_difference(expression, message = nil, &block)