aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/naming_test.rb
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2011-10-07 16:42:44 +0300
committerUģis Ozols <ugis.ozolss@gmail.com>2011-10-07 16:42:44 +0300
commit4015080efda2258d1eca87c92fc4039192969657 (patch)
tree99951581626a7f7a64ecf80d1a0f40aeb449e85e /activemodel/test/cases/naming_test.rb
parent9312d217d6233710b291dab2d4edde483109e136 (diff)
downloadrails-4015080efda2258d1eca87c92fc4039192969657.tar.gz
rails-4015080efda2258d1eca87c92fc4039192969657.tar.bz2
rails-4015080efda2258d1eca87c92fc4039192969657.zip
One of the activemodel naming tests wasn't asserting anything.
Diffstat (limited to 'activemodel/test/cases/naming_test.rb')
-rw-r--r--activemodel/test/cases/naming_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/naming_test.rb b/activemodel/test/cases/naming_test.rb
index 1777ce2aae..5f943729dd 100644
--- a/activemodel/test/cases/naming_test.rb
+++ b/activemodel/test/cases/naming_test.rb
@@ -148,7 +148,7 @@ class NamingWithSuppliedModelNameTest < ActiveModel::TestCase
end
def test_human
- 'Article'
+ assert_equal 'Article', @model_name.human
end
def test_route_key