diff --git a/spec/unit/config_spec.rb b/spec/unit/config_spec.rb index 67ccb79..6996489 100644 --- a/spec/unit/config_spec.rb +++ b/spec/unit/config_spec.rb @@ -3,7 +3,7 @@ module Neography describe Config do - subject{Config.new} + subject(:config) { Config.new } context "defaults" do @@ -37,7 +37,7 @@ module Neography :password => nil, :parser => { :parser => MultiJsonParser } } - subject.to_hash.should == expected_hash + config.to_hash.should == expected_hash end end diff --git a/spec/unit/connection_spec.rb b/spec/unit/connection_spec.rb index a4bdcad..6b2be11 100644 --- a/spec/unit/connection_spec.rb +++ b/spec/unit/connection_spec.rb @@ -3,7 +3,7 @@ module Neography describe Connection do - subject(:connection) + subject(:connection) { Connection.new } context "defaults" do