diff options
| -rwxr-xr-x | spec/unit/simple_graph.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/unit/simple_graph.rb b/spec/unit/simple_graph.rb index 1be29c0dc..b9d939867 100755 --- a/spec/unit/simple_graph.rb +++ b/spec/unit/simple_graph.rb @@ -52,7 +52,9 @@ describe Puppet::SimpleGraph, " when managing vertices" do it "should return all set vertices when asked" do @graph.add_vertex!(:one) @graph.add_vertex!(:two) - @graph.vertices.should == [:one, :two] + @graph.vertices.length.should == 2 + @graph.vertices.should include(:one) + @graph.vertices.should include(:two) end it "should remove a given vertex when asked" do |
