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

- old
+ new

@@ -2,13 +2,13 @@ describe Infoblox::Connection do ["localhost", "127.0.0.1", "http://localhost:3000", "https://localhost", "http://localhost:3000/"].each do |host| it "should build URL #{host} without failure" do conn_params = { - username: "billy", - password: "boi", - host: host + :username => "billy", + :password => "boi", + :host => host } uri = "/wapi/v1.0/record:host" ic = Infoblox::Connection.new(conn_params) ic.adapter = :test @@ -20,12 +20,12 @@ end it "should raise Infobloxon invalid response" do host = 'localhost' conn_params = { - username: "billy", - password: "boi", - host: host + :username => "billy", + :password => "boi", + :host => host } uri = "/wapi/v1.0/record:host" ic = Infoblox::Connection.new(conn_params) ic.adapter = :test