diff options
author | Luke Kanies <luke@madstop.com> | 2008-07-28 18:51:47 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-07-29 00:51:22 -0500 |
commit | e78b1a642050c94bf7d3027048318613505cdaed (patch) | |
tree | bc39a1a50a96f4936bedab8c8e2ae0427c310e76 | |
parent | 352e2d0fb74fd7226ecac06b6108e672c221baa1 (diff) | |
download | puppet-e78b1a642050c94bf7d3027048318613505cdaed.tar.gz puppet-e78b1a642050c94bf7d3027048318613505cdaed.tar.xz puppet-e78b1a642050c94bf7d3027048318613505cdaed.zip |
Fixing a test to be order-independent.
Signed-off-by: Luke Kanies <luke@madstop.com>
-rwxr-xr-x | spec/unit/network/format_handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/network/format_handler.rb b/spec/unit/network/format_handler.rb index 6e3033c75..0b885ca8d 100755 --- a/spec/unit/network/format_handler.rb +++ b/spec/unit/network/format_handler.rb @@ -85,7 +85,7 @@ describe Puppet::Network::FormatHandler do end it "should include all formats that include both the to_ and from_ methods in the list of supported formats" do - FormatTester.supported_formats.should == %w{good mults} + FormatTester.supported_formats.sort.should == %w{good mults}.sort end it "should return the first format as the default format" do |