Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Jul 5, 2024
1 parent 686375d commit 12b276c
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,15 +89,11 @@
end
end

describe "#block_recoverable_size" do
before do
allow(device).to receive(:recoverable_size).and_return(size)
end

let(:size) { Y2Storage::DiskSize.new(1024) }

it "returns the recoverable size in bytes" do
expect(subject.block_recoverable_size).to eq(1024)
describe "#block_shrinking" do
it "returns the shrinking info" do
expect(subject.block_shrinking).to eq(
{ "Unsupported"=>["Resizing is not supported by this device."] }
)
end
end

Expand Down

0 comments on commit 12b276c

Please sign in to comment.