Skip to content

Commit 193f5bc

Browse files
committed
OHAI-206: fix spec stub to match updated code
1 parent f345fbd commit 193f5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/ohai/plugins/solaris2/network_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
describe "setting the node's default IP address attribute" do
124124
before do
125125
@stdout = mock("Pipe, stdout, cmd=`route get default`", :read => @solaris_route_get)
126-
@ohai.stub!(:popen4).with("route get default").and_yield(nil,@stdin, @stdout, nil)
126+
@ohai.stub!(:popen4).with("route -n get default").and_yield(nil,@stdin, @stdout, nil)
127127
@ohai._require_plugin("solaris2::network")
128128
end
129129

0 commit comments

Comments
 (0)