Browse files

Remove unused release tests

  • Loading branch information...
1 parent 1cde032 commit 976c42b31f834f82906d781b59f026754fec976e @Empact Empact committed Mar 9, 2009
Showing with 0 additions and 32 deletions.
  1. +0 −32 test/release/dependencies_test.rb
View
32 test/release/dependencies_test.rb
@@ -1,32 +0,0 @@
-require 'test/unit'
-
-class TestDependencies < Test::Unit::TestCase
- def assert_dependency_included(*args)
- # assert methods are removed
- args.each do |type, method, source|
- type.send(:remove_method, method) if type.instance_methods.include?(method.to_s)
- assert !type.instance_methods.include?(method.to_s)
- end
-
- load File.join(File.dirname(__FILE__), '../../lib/roxml.rb')
-
- # assert_instance_methods returned to their rightful positions
- args.each do |type, method, source|
- assert type.instance_methods.include?(method.to_s)
- end
-
- #assert ROXML has what it needs
- assert_nothing_raised do
- Class.new do
- include ROXML
-
- xml_reader :deps
- end
- end
- end
-
- def test_symbol_to_proc_is_added_by_roxml
- assert_dependency_included([Symbol, :to_proc, 'active_support/core_ext/symbol.rb'],
- [Enumerable, :one?, 'extensions/enumerable.rb'])
- end
-end

0 comments on commit 976c42b

Please sign in to comment.