Skip to content
Browse files

Fix test class name that should read Without

  • Loading branch information...
1 parent f9f0f03 commit e5df4f9255e10ea5ae9ba02bab15c55e3f569e03 @carlosantoniodasilva carlosantoniodasilva committed with drogus Jan 15, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/test/cases/attribute_methods_test.rb
View
4 activemodel/test/cases/attribute_methods_test.rb
@@ -76,13 +76,13 @@ def attribute(name)
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

0 comments on commit e5df4f9

Please sign in to comment.
Something went wrong with that request. Please try again.