From 1ba7563d7151b741d00b9228ae269cdc492d42ec Mon Sep 17 00:00:00 2001 From: lakshan Date: Sun, 20 Sep 2009 02:34:55 +0530 Subject: [PATCH] fixed ActiveModel::Lint typos --- activemodel/lib/active_model/lint.rb | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/activemodel/lib/active_model/lint.rb b/activemodel/lib/active_model/lint.rb index 46af8ca..839a488 100644 --- a/activemodel/lib/active_model/lint.rb +++ b/activemodel/lib/active_model/lint.rb @@ -2,7 +2,7 @@ require "test/unit" require "test/unit/ui/console/testrunner" # You can test whether an object is compliant with the ActiveModel API by -# calling ActiveModel::Compliance.test(object). It will emit a Test::Unit +# calling ActiveModel::Lint.test(object). It will emit a Test::Unit # output that tells you whether your object is fully compliant, or if not, # which aspects of the API are not implemented. # @@ -59,7 +59,7 @@ module ActiveModel end def test_destroyed? - assert @object.respond_to?(:new_record?), "The model should respond to destroyed?" + assert @object.respond_to?(:destroyed?), "The model should respond to destroyed?" assert_boolean "destroyed?", @object.destroyed? end @@ -93,4 +93,4 @@ module ActiveModel include Errors end end -end \ No newline at end of file +end -- 1.6.0.4