From 712400e54e4d59436cc838f326da5d1b58810946 Mon Sep 17 00:00:00 2001 From: Colin Hodge Date: Tue, 25 Feb 2014 03:38:02 -0800 Subject: [PATCH] fix config tests for proxy addition --- spec/unit/config_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/spec/unit/config_spec.rb b/spec/unit/config_spec.rb index 418f554..a1bb5e6 100644 --- a/spec/unit/config_spec.rb +++ b/spec/unit/config_spec.rb @@ -23,6 +23,8 @@ module Neography its(:password) { should == nil } its(:parser) { should == MultiJsonParser} its(:max_execution_time) { should == 6000 } + its(:proxy) { should == nil } + it "has a hash representation" do expected_hash = { @@ -41,7 +43,8 @@ module Neography :username => nil, :password => nil, :parser => MultiJsonParser, - :max_execution_time => 6000 + :max_execution_time => 6000, + :proxy => nil } config.to_hash.should == expected_hash end