spec/spec_helper.rb in infoblox-0.3.3 vs spec/spec_helper.rb in infoblox-0.4.0

- old
+ new

@@ -4,11 +4,13 @@ # loaded once. # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration require File.expand_path("../../lib/infoblox", __FILE__) Bundler.setup(:test) -require 'highline/import' +if ENV['INTEGRATION'] + require 'highline/import' +end module Helper def each_version ['1.0', '1.2', '1.4', '2.0'].each do |v| Infoblox.wapi_version = v @@ -18,13 +20,13 @@ Infoblox.wapi_version = '1.0' end def connection Infoblox::Connection.new( - username: $username, - password: $password, - host: $host, - # logger: Logger.new(STDOUT) + :username => $username, + :password => $password, + :host => $host + # :logger => Logger.new(STDOUT) ) end end RSpec.configure do |config|