Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix test class name that should read Without

  • Loading branch information...
commit e5df4f9255e10ea5ae9ba02bab15c55e3f569e03 1 parent f9f0f03
@carlosantoniodasilva carlosantoniodasilva authored drogus committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.