Start specs for Disk#subsource
parent
3f1eea55a6
commit
23bf36bc75
|
@ -121,6 +121,13 @@ describe Rex::ImageSource::Disk do
|
|||
end
|
||||
|
||||
describe "#subsource" do
|
||||
let(:offset) { 0 }
|
||||
let(:len) { 512 }
|
||||
|
||||
it "returns a new Rex::ImageSource::Disk" do
|
||||
expect(subject.subsource(offset, len)).to be_kind_of(described_class)
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue