Permalink
Browse files

Fix already defined constant warning when running tests

  • Loading branch information...
1 parent da3b6ce commit e7eab82f8dca5c47cb7d19da4109782f5b5da31c @tlconnor tlconnor committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/test_helper.rb
View
@@ -6,7 +6,7 @@
require 'libxml'
-require File.dirname(__FILE__) + '/../lib/xero_gateway.rb'
+require File.dirname(__FILE__) + '/../lib/xero_gateway.rb' unless defined?(XeroGateway)
module TestHelper
# The integration tests can be run against the Xero test environment. You mush have a company set up in the test

0 comments on commit e7eab82

Please sign in to comment.