Skip to content

Commit

Permalink
make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 8, 2025
1 parent 0cedb6a commit d66322c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions service/test/agama/registration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -399,13 +399,15 @@
end

it "copies global credentials file" do
expect(::FileUtils).to receive(:cp).with("/etc/zypp/credentials.d/SCCcredentials", "/mnt/etc/zypp/credentials.d/SCCcredentials")
expect(::FileUtils).to receive(:cp).with("/etc/zypp/credentials.d/SCCcredentials",
"/mnt/etc/zypp/credentials.d/SCCcredentials")

subject.finish
end

it "copies product credentials file" do
expect(::FileUtils).to receive(:cp).with("/etc/zypp/credentials.d/test", "/mnt/etc/zypp/credentials.d/test")
expect(::FileUtils).to receive(:cp).with("/etc/zypp/credentials.d/test",
"/mnt/etc/zypp/credentials.d/test")

subject.finish
end
Expand Down

0 comments on commit d66322c

Please sign in to comment.