diff options
author | Steven Danna <steve@opscode.com> | 2012-12-12 09:10:08 -0800 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2013-04-01 10:03:19 -0700 |
commit | da929a310db62b6180197d51a5b8fa2078a48467 (patch) | |
tree | de1106f3aa8ecfd0969d9df7c85bcafa220bcae4 /spec/unit/node_spec.rb | |
parent | 172d5394daf216fb7c67729029d5856fb6cdb6ce (diff) | |
download | chef-da929a310db62b6180197d51a5b8fa2078a48467.tar.gz |
[CHEF-3683] Assert entire order in test.
Diffstat (limited to 'spec/unit/node_spec.rb')
-rw-r--r-- | spec/unit/node_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/node_spec.rb b/spec/unit/node_spec.rb index f466fd1db7..2906db34bc 100644 --- a/spec/unit/node_spec.rb +++ b/spec/unit/node_spec.rb @@ -39,7 +39,7 @@ describe Chef::Node do n1 = Chef::Node.build('alpha') n2 = Chef::Node.build('beta') n3 = Chef::Node.build('omega') - [n3, n1, n2].sort.first.should == n1 + [n3, n1, n2].sort.should == [n1, n2, n3] end describe "when the node does not exist on the server" do |