Skip to content

Commit

Permalink
fixed hash format in spec test
Browse files Browse the repository at this point in the history
  • Loading branch information
rockpapergoat committed Jan 27, 2018
1 parent 540fd22 commit 5f96433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f96433

Please sign in to comment.