Skip to content

Commit

Permalink
Fix test class name that should read Without
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva authored and drogus committed Jan 15, 2012
1 parent f9f0f03 commit e5df4f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activemodel/test/cases/attribute_methods_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit e5df4f9

Please sign in to comment.