aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/spec_type_test.rb3
-rw-r--r--activesupport/test/testing/constant_lookup_test.rb2
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