aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-01-15 20:54:40 -0200
committerPiotr Sarnacki <drogus@gmail.com>2012-01-16 00:00:57 +0100
commite5df4f9255e10ea5ae9ba02bab15c55e3f569e03 (patch)
tree66bd940defc7f30718253f7799d9d44ac7ec87e1 /activemodel
parentf9f0f03822b4ead1a9b6fd9f314e363c65fb63e8 (diff)
downloadrails-e5df4f9255e10ea5ae9ba02bab15c55e3f569e03.tar.gz
rails-e5df4f9255e10ea5ae9ba02bab15c55e3f569e03.tar.bz2
rails-e5df4f9255e10ea5ae9ba02bab15c55e3f569e03.zip
Fix test class name that should read Without
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/test/cases/attribute_methods_test.rb4
1 files changed, 2 insertions, 2 deletions
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