summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/unit/node_spec.rb2
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