aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-28 14:25:53 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-31 13:57:24 -0300
commitd4c94accf7efb1136b9764cd00e19f3d90dc047d (patch)
treeda3a3beebe61475369e91063d69297ba4fe2ef1e /activesupport
parent5da4d5142a60edda0cb78071553993ee33bb8637 (diff)
downloadrails-d4c94accf7efb1136b9764cd00e19f3d90dc047d.tar.gz
rails-d4c94accf7efb1136b9764cd00e19f3d90dc047d.tar.bz2
rails-d4c94accf7efb1136b9764cd00e19f3d90dc047d.zip
Remove unneeded tests
These tests are needed only if we are using MiniTest::Spec
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/spec_type_test.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/activesupport/test/spec_type_test.rb b/activesupport/test/spec_type_test.rb
deleted file mode 100644
index 9a6cb4ded2..0000000000
--- a/activesupport/test/spec_type_test.rb
+++ /dev/null
@@ -1,22 +0,0 @@
-require "abstract_unit"
-require "active_record"
-
-class SomeRandomModel < ActiveRecord::Base; end
-
-class SpecTypeTest < ActiveSupport::TestCase
- def assert_support actual
- assert_equal ActiveSupport::TestCase, actual
- end
-
- def assert_spec actual
- assert_equal MiniTest::Spec, actual
- end
-
- def test_spec_type_resolves_for_active_record_constants
- assert_support MiniTest::Spec.spec_type(SomeRandomModel)
- end
-
- def test_spec_type_doesnt_resolve_random_strings
- assert_spec MiniTest::Spec.spec_type("Unmatched String")
- end
-end