summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-10-15 13:50:06 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-10-15 13:50:06 -0500
commitf74ceb76af2561afa47d20e685906cad774c91f8 (patch)
tree3448816b2ed593200c5620e528b5d6f222ef41d2
parentbad8487c5332c38c15f8a6e979a19ae37de81736 (diff)
downloadhorizon-f74ceb76af2561afa47d20e685906cad774c91f8.tar.gz
horizon-f74ceb76af2561afa47d20e685906cad774c91f8.tar.bz2
horizon-f74ceb76af2561afa47d20e685906cad774c91f8.tar.xz
horizon-f74ceb76af2561afa47d20e685906cad774c91f8.zip
tests: Don't depend on any ordering of /e/c/net
-rw-r--r--tests/spec/simulator_spec.rb16
1 files changed, 8 insertions, 8 deletions
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