Skip to content

Commit 6f61261

Browse files
committed
Fix tests for default_gateway
1 parent 698c181 commit 6f61261

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/network/network_spec.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
# network
1313
describe default_gateway do
14-
its(properties[:ipaddress]) { should eq p['gw_addr'] }
15-
its(properties[:interface]) { should eq p['gw_addr_device'] }
14+
its(:ipaddress) { should eq properties[:gw_addr] }
15+
its(:interface) { should eq properties[:gw_addr_device] }
1616
end
1717

1818
describe service('network') do

0 commit comments

Comments
 (0)