Skip to content

Commit

Permalink
fix also in tests file_name typo ( see official documentation at http…
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 24, 2025
1 parent 91bc0c3 commit cbd6b5d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions service/test/agama/autoyast/scripts_reader_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

context "when the script definition includes the sources" do
let(:script) do
{ "file_name" => "script.sh",
{ "filename" => "script.sh",
"location" => "https://example.com/script.sh" }
end

Expand All @@ -45,7 +45,7 @@
context "when the script definition specifies a location" do
let(:script) do
{
"file_name" => "script.sh",
"filename" => "script.sh",
"source" => "#!/bin/bash\necho 'Hello World!'"
}
end
Expand Down Expand Up @@ -77,7 +77,7 @@
it_behaves_like "a script reader", "chroot-scripts", "post"

let(:chroot_script) do
{ "file_name" => "test.sh",
{ "filename" => "test.sh",
"chrooted" => true,
"source" => "#!/bin/bash\necho 'Hello World!'" }
end
Expand All @@ -92,7 +92,7 @@

context "when the \"chrooted\" option is not set" do
let(:chroot_script) do
{ "file_name" => "test.sh",
{ "filename" => "test.sh",
"source" => "#!/bin/bash\necho 'Hello World!'" }
end

Expand Down

0 comments on commit cbd6b5d

Please sign in to comment.