Skip to content

Commit

Permalink
Small modification to the Storage::Manager test
Browse files Browse the repository at this point in the history
  • Loading branch information
ancorgs committed Aug 9, 2023
1 parent c57edd2 commit f669169
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service/test/agama/storage/manager_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,11 @@
allow(Agama::Storage::ProposalSettings).to receive(:new).and_return(new_settings)
end

it "calculates a proposal using new settings" do
it "calculates a proposal using new settings and the first available disk" do
expect(proposal).to receive(:calculate).with(new_settings)
expect(new_settings.boot_device).to be_nil
storage.probe
expect(new_settings.boot_device).to eq disk1.name
end
end
end
Expand Down

0 comments on commit f669169

Please sign in to comment.