From e5df4f9255e10ea5ae9ba02bab15c55e3f569e03 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sun, 15 Jan 2012 20:54:40 -0200 Subject: Fix test class name that should read Without --- activemodel/test/cases/attribute_methods_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activemodel/test/cases') diff --git a/activemodel/test/cases/attribute_methods_test.rb b/activemodel/test/cases/attribute_methods_test.rb index 3f653e6620..9406328d3e 100644 --- a/activemodel/test/cases/attribute_methods_test.rb +++ b/activemodel/test/cases/attribute_methods_test.rb @@ -76,13 +76,13 @@ private end end -class ModelWithouAttributesMethod +class ModelWithoutAttributesMethod include ActiveModel::AttributeMethods end class AttributeMethodsTest < ActiveModel::TestCase test 'method missing works correctly even if attributes method is not defined' do - assert_raises(NoMethodError) { ModelWithouAttributesMethod.new.foo } + assert_raises(NoMethodError) { ModelWithoutAttributesMethod.new.foo } end test 'unrelated classes should not share attribute method matchers' do -- cgit v1.2.3