Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix test class name that should read Without #4477

Closed
wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.