diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-04 12:07:06 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-11-04 12:07:06 -0200 |
commit | 5cdeb5ef7db1bab944ff0ee2d64c6c896758bac6 (patch) | |
tree | b5caaba8c2ff1b7f6db7c9485c52db947e144957 | |
parent | b1fe78e0cb81d6d291b982927353c4fa39d8e269 (diff) | |
download | rails-5cdeb5ef7db1bab944ff0ee2d64c6c896758bac6.tar.gz rails-5cdeb5ef7db1bab944ff0ee2d64c6c896758bac6.tar.bz2 rails-5cdeb5ef7db1bab944ff0ee2d64c6c896758bac6.zip |
Fix typo in test name
-rw-r--r-- | activesupport/test/spec_type_test.rb | 3 | ||||
-rw-r--r-- | activesupport/test/testing/constant_lookup_test.rb | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/activesupport/test/spec_type_test.rb b/activesupport/test/spec_type_test.rb index 95a982d8fd..9a6cb4ded2 100644 --- a/activesupport/test/spec_type_test.rb +++ b/activesupport/test/spec_type_test.rb @@ -4,7 +4,6 @@ require "active_record" class SomeRandomModel < ActiveRecord::Base; end class SpecTypeTest < ActiveSupport::TestCase - def assert_support actual assert_equal ActiveSupport::TestCase, actual end @@ -13,7 +12,7 @@ class SpecTypeTest < ActiveSupport::TestCase assert_equal MiniTest::Spec, actual end - def test_spec_type_resolves_for_actitive_record_constants + def test_spec_type_resolves_for_active_record_constants assert_support MiniTest::Spec.spec_type(SomeRandomModel) end diff --git a/activesupport/test/testing/constant_lookup_test.rb b/activesupport/test/testing/constant_lookup_test.rb index c56c032cde..19280ba74a 100644 --- a/activesupport/test/testing/constant_lookup_test.rb +++ b/activesupport/test/testing/constant_lookup_test.rb @@ -1,7 +1,7 @@ require 'abstract_unit' class Foo; end -class Bar < Foo; +class Bar < Foo def index; end def self.index; end end |