Skip to content

Commit

Permalink
fix warnings when running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Aug 3, 2008
1 parent f8c4038 commit af92a66
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
test/config.yml
1 change: 0 additions & 1 deletion test/test_helper.rb
Expand Up @@ -4,7 +4,6 @@
require 'rubygems'
require 'yaml'
require 'test/unit'
require 'breakpoint'
require 'graticule'
require 'mocha'

Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/distance_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')

module Graticule
module Distance
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder/geocoder_us_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

module Graticule
module Geocoder
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder/geocoders.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')


module Graticule
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder/google_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

module Graticule
module Geocoder
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder/host_ip_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

module Graticule
module Geocoder
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder/local_search_maps_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

module Graticule
module Geocoder
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder/meta_carta_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

module Graticule
module Geocoder
Expand Down
4 changes: 2 additions & 2 deletions test/unit/graticule/geocoder/multi_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

module Graticule
module Geocoder
Expand All @@ -7,7 +7,7 @@ class MultiTest < Test::Unit::TestCase
def setup
@mock_geocoders = [mock("geocoder 1"), mock("geocoder 2")]
@mock_geocoders.each {|g| g.stubs(:locate) }
@geocoder = Multi.new *@mock_geocoders
@geocoder = Multi.new(*@mock_geocoders)
end

def test_locate_calls_each_geocoder_and_raises_error
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder/postcode_anywhere_test.rb
@@ -1,6 +1,6 @@
# account code: INDIV30777
# license key: KG39-HM17-PZ95-NR98
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

module Graticule
module Geocoder
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder/yahoo_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../../test_helper')

module Graticule
module Geocoder
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/geocoder_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')

module Graticule
class GeocoderTest < Test::Unit::TestCase
Expand Down
2 changes: 1 addition & 1 deletion test/unit/graticule/location_test.rb
@@ -1,4 +1,4 @@
require File.dirname(__FILE__) + '/../../test_helper'
require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')

module Graticule
class LocationTest < Test::Unit::TestCase
Expand Down

0 comments on commit af92a66

Please sign in to comment.