diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-26 06:23:07 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-10-26 06:23:07 -0500 |
commit | 88c8c43edb283788c3bdc6d4cb2c07ac1eea9f88 (patch) | |
tree | 382caa9e5ec4417b83b525459ba96d5ef7b7b061 | |
parent | 53522bff955c63e85a507262b85bc7933c1e803d (diff) | |
download | horizon-88c8c43edb283788c3bdc6d4cb2c07ac1eea9f88.tar.gz horizon-88c8c43edb283788c3bdc6d4cb2c07ac1eea9f88.tar.bz2 horizon-88c8c43edb283788c3bdc6d4cb2c07ac1eea9f88.tar.xz horizon-88c8c43edb283788c3bdc6d4cb2c07ac1eea9f88.zip |
tests: Test NetSSID execution output
-rw-r--r-- | tests/spec/simulator_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb index 2fbb993..74426ba 100644 --- a/tests/spec/simulator_spec.rb +++ b/tests/spec/simulator_spec.rb @@ -71,4 +71,11 @@ printf '%s\\t%s\\t%s\\t%s\\t0\\t0\\n' /dev/gwyn/source /usr/src auto noatime >> expect(last_command_started.stderr).to include("set domain name 'we-sing-it-proudly.new-romantics.club'") end end + context "simulating 'netssid' execution" do + it "outputs the network block correctly" do + use_fixture '0067-netssid-spaces-wpa.installfile' + run_simulate + expect(last_command_started.stdout).to include("network={\n\tssid=\"The New Fox 5G\"\n\tpsk=\"shh, sekrit!\"\n\tpriority=5\n}") + end + end end |