diff options
| author | Luke Kanies <luke@madstop.com> | 2007-09-07 12:10:59 -0500 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-09-07 12:10:59 -0500 |
| commit | 9af79f117221d93f0d13a2c5ea3e886c6a9d939e (patch) | |
| tree | 1470b73877b2d46c16f0e6ff4b15d4088b6a636f /test/network | |
| parent | 50874b2f1801b6ad2884803e98bbd220ef4af1bd (diff) | |
| download | puppet-9af79f117221d93f0d13a2c5ea3e886c6a9d939e.tar.gz puppet-9af79f117221d93f0d13a2c5ea3e886c6a9d939e.tar.xz puppet-9af79f117221d93f0d13a2c5ea3e886c6a9d939e.zip | |
Fixing some failed tests. Mostly cleanup. Next is to make all of the user tests pass again, dammit.
Diffstat (limited to 'test/network')
| -rwxr-xr-x | test/network/client/client.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/network/client/client.rb b/test/network/client/client.rb index 3f540d10f..93c63d637 100755 --- a/test/network/client/client.rb +++ b/test/network/client/client.rb @@ -164,7 +164,10 @@ class TestClient < Test::Unit::TestCase # Fake that it's local, so it creates the class file client.local = false - client.expects(:setclasses).with(%w{yaytest bootest}) + # We can't guarantee class ordering + client.expects(:setclasses).with do |array| + array.length == 2 and array.include?("yaytest") and array.include?("bootest") + end assert_nothing_raised { client.getconfig } |
