# File lib/spec/interop/test/unit/testcase.rb, line 46 def initialize(defined_description, options={}, &implementation) @_defined_description = defined_description # TODO - examples fail in rspec-rails if we remove "|| pending_implementation" # - find a way to fail without it in rspec's code examples @_implementation = implementation || pending_implementation @_result = ::Test::Unit::TestResult.new # @method_name is important to set here because it "complies" with Test::Unit's interface. # Some Test::Unit extensions depend on @method_name being present. @method_name = @_defined_description end