Start specs for Disk#subsource

bug/bundler_fix
jvazquez-r7 2014-09-22 10:37:44 -05:00
parent 3f1eea55a6
commit 23bf36bc75
1 changed files with 7 additions and 0 deletions

View File

@ -121,6 +121,13 @@ describe Rex::ImageSource::Disk do
end end
describe "#subsource" do 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 end