From d99d8e5cac809437eb752fecbdbbb0b80d9a513b Mon Sep 17 00:00:00 2001 From: Rupak Ganguly Date: Thu, 4 Apr 2013 15:34:17 -0400 Subject: [PATCH] Minor fix to failing test. --- tests/hp/models/network/ports_tests.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/hp/models/network/ports_tests.rb b/tests/hp/models/network/ports_tests.rb index 4aa95a940..e0450b5a2 100644 --- a/tests/hp/models/network/ports_tests.rb +++ b/tests/hp/models/network/ports_tests.rb @@ -11,8 +11,7 @@ Shindo.tests('HP::Network | networking ports model', ['hp', 'networking', 'port' @port = HP[:network].ports.create(attributes) tests('#all(filter)').succeeds do - ports = HP[:network].ports.all({:network_id => @network.id}) - ports.first.network_id == @network.id + HP[:network].ports.all({:name => 'fogport'}) end @port.destroy