Sha256: fa7fd17456ad58a71d16b42bbac9ec82bac6f67cba80d5f79c2c01f76ac9cdba
Contents?: true
Size: 538 Bytes
Versions: 3
Compression:
Stored size: 538 Bytes
Contents
require 'rubygems' require 'test/unit' require 'shoulda' require 'mocha' require 'fake_web' $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'term_extraction' class Test::Unit::TestCase def fake_uri(method, uri, fixture) FakeWeb.clean_registry FakeWeb.allow_net_connect = false response = File.open(File.join(File.dirname(__FILE__), 'fixtures', fixture)).read FakeWeb.register_uri(method, uri.to_s, :string => response) end def teardown FakeWeb.allow_net_connect = true FakeWeb.clean_registry end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
alexrabarts-term_extraction-0.1.3 | test/test_helper.rb |
alexrabarts-term_extraction-0.1.4 | test/test_helper.rb |
term_extraction-0.1.4 | test/test_helper.rb |