Skip to content

Commit 5f96433

Browse files
committed
fixed hash format in spec test
1 parent 540fd22 commit 5f96433

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/node_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
faraday.stub(:get).with(all_with_meta_url).and_return(OpenStruct.new(body: json))
141141

142142
node = Diplomat::Node.new(faraday)
143-
expect(node.get_all(:meta => {'az' => 'us-east-1a','role' => 'redis'}).size).to eq(2)
143+
expect(node.get_all(meta: { az: 'us-east-1a', role: 'redis' }).size).to eq(2)
144144
end
145145

146146
it 'lists all the nodes' do

0 commit comments

Comments
 (0)