Skip to content

Commit 3500e1c

Browse files
committed
Add specs for Memory#close
1 parent a612caf commit 3500e1c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spec/lib/rex/image_source/memory_spec.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@
9696
end
9797

9898
describe "#close" do
99-
99+
it "returns nil" do
100+
expect(subject.close).to be_nil
101+
end
100102
end
101103

102104
describe "#index" do

0 commit comments

Comments
 (0)