Permalink
Browse files

dummy methods no longer needed in delegator tests

  • Loading branch information...
1 parent 7e1449a commit fd5113a687af7392e1acb117cec06227a9253ddd @rkh rkh committed Apr 17, 2011
Showing with 0 additions and 7 deletions.
  1. +0 −7 test/delegator_test.rb
View
@@ -1,13 +1,6 @@
class DelegatorTest < Test::Unit::TestCase
class Mirror
attr_reader :last_call
-
- Sinatra::Delegator.private_instance_methods.each do |method|
- define_method(method) do |*a, &b|
- method_missing(method, *a, &b)
- end
- end
-
def method_missing(*a, &b)
@last_call = [*a.map(&:to_s)]
@last_call << b if b

0 comments on commit fd5113a

Please sign in to comment.