lib/reap/class/extest.rb in reap-6.0.0 vs lib/reap/class/extest.rb in reap-6.0.1
- old
+ new
@@ -33,15 +33,14 @@
class ExTest
include TaskUtils
- attr_accessor :dir, :trunk, :files, :options
+ attr_accessor :dir, :files, :options
def initialize( tst )
@dir = 'test'
- #@trunk = 'trunk' if File.directory?('trunk')
@files = [ 'lib/**/*.rb' ]
@options = {}
super
@@ -49,14 +48,10 @@
end
# Extract tests.
def extract
- if @trunk
- Dir.chdir( @trunk ) { extract_tests }
- else
- extract_tests
- end
+ extract_tests
end
alias_method :call, :extract
private