From f74ceb76af2561afa47d20e685906cad774c91f8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 15 Oct 2020 13:50:06 -0500 Subject: tests: Don't depend on any ordering of /e/c/net --- tests/spec/simulator_spec.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests') diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb index 8c93996..e48df94 100644 --- a/tests/spec/simulator_spec.rb +++ b/tests/spec/simulator_spec.rb @@ -292,14 +292,14 @@ defaultroute lcp-echo-interval 10 lcp-echo-failure 5 mtu 9001 -" -password_ppp0="fuzzball" -username_ppp0="awilfox" -plugins_ppp0="pppoe" -link_ppp0="eth0" -config_ppp0="ppp" -rc_net_ppp0_need="eth0" -config_eth0="null"') +"') + expect(last_command_started.stdout).to include('username_ppp0="awilfox"') + expect(last_command_started.stdout).to include('password_ppp0="fuzzball"') + expect(last_command_started.stdout).to include('plugins_ppp0="pppoe"') + expect(last_command_started.stdout).to include('link_ppp0="eth0"') + expect(last_command_started.stdout).to include('config_ppp0="ppp"') + expect(last_command_started.stdout).to include('rc_net_ppp0_need="eth0"') + expect(last_command_started.stdout).to include('config_eth0="null"') end end context "simulating 'signingkey' execution" do -- cgit v1.2.3-60-g2f50