Sha256: 61fb445d4d213663c72e8049a76deb8cce8df5669ea407c5ec44d04c48277ef7
Contents?: true
Size: 706 Bytes
Versions: 1
Compression:
Stored size: 706 Bytes
Contents
basedir = File.dirname(__FILE__) $:.unshift "#{basedir}/../lib" require 'rubygems' gem 'ruby-debug' gem 'test-spec' gem 'activesupport' gem 'actionpack' gem 'activerecord' require 'test/spec' require 'mocha' require 'ostruct' require 'ruby-debug' require 'activerecord' require 'relevance/tarantula' # needed for html-scanner, grr require 'active_support' require 'action_controller' class Test::Unit::TestCase def test_output_dir File.join(File.dirname(__FILE__), "..", "tmp", "test_output") end # TODO change puts/print to use a single method for logging, which will then make the stubbing cleaner def stub_puts_and_print(obj) obj.stubs(:puts) obj.stubs(:print) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
relevance-tarantula-0.0.1 | test/test_helper.rb |