summaryrefslogtreecommitdiff
path: root/tests/spec/simulator_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/spec/simulator_spec.rb')
-rw-r--r--tests/spec/simulator_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb
index 396b77a..a06b922 100644
--- a/tests/spec/simulator_spec.rb
+++ b/tests/spec/simulator_spec.rb
@@ -36,6 +36,7 @@ RSpec.describe 'HorizonScript Simulator', :type => :aruba do
it "handles validation failures correctly" do
use_fixture '0240-bootloader-invalid.installfile'
run_simulate
+ expect(last_command_started.stdout).to start_with("#!/bin/sh")
expect(last_command_started.stderr).to include("Script failed. Stop.")
end
context "simulating 'disklabel' execution" do