spec/unit/packagers/solaris_spec.rb in omnibus-6.0.1 vs spec/unit/packagers/solaris_spec.rb in omnibus-6.0.24
- old
+ new
@@ -115,12 +115,12 @@
let(:prototype_file) { File.join(staging_dir, "Prototype") }
before do
allow(subject).to receive(:shellout!)
File.open("#{staging_dir}/files", "w+") do |f|
- f.write <<-EOF
-/foo/bar/baz
-/a file with spaces
+ f.write <<~EOF
+ /foo/bar/baz
+ /a file with spaces
EOF
end
end
it "creates the prototype file" do