diff --git a/spec/node_spec.rb b/spec/node_spec.rb index d1c7d10..e5b4a2c 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -140,7 +140,7 @@ faraday.stub(:get).with(all_with_meta_url).and_return(OpenStruct.new(body: json)) node = Diplomat::Node.new(faraday) - expect(node.get_all(:meta => {'az' => 'us-east-1a','role' => 'redis'}).size).to eq(2) + expect(node.get_all(meta: { az: 'us-east-1a', role: 'redis' }).size).to eq(2) end it 'lists all the nodes' do