Skip to content
Snippets Groups Projects
Commit a3e8eedd authored by Alex Reisner's avatar Alex Reisner
Browse files

Adjust load paths so test files can be run solo.

parent 0278154c
No related branches found
No related tags found
No related merge requests found
Showing
with 21 additions and 1 deletion
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), *%w[ .. .. lib]))
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..", "lib")
require 'pathname'
require 'rubygems'
require 'test/unit'
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class ActiveRecordTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class CacheTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class CalculationsTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class ConfigurationTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class ErrorHandlingTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class GeocoderTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class HttpsTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class IpAddressTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..")
require 'test_helper'
class LookupTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class BingTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class DstkTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class EsriTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class FreegeoipTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class GeocoderCaTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class GeocodioTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class GooglePremierTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class GoogleTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class MapquestTest < GeocoderTestCase
......
# encoding: utf-8
$: << File.join(File.dirname(__FILE__), "..", "..")
require 'test_helper'
class MaxmindLocalTest < GeocoderTestCase
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment