Skip to content
This repository was archived by the owner on Dec 11, 2020. It is now read-only.

Commit 89cf005

Browse files
committed
refactor
get rid of useless example
1 parent 05d6017 commit 89cf005

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

spec/we_transfer/we_transfer_file_spec.rb

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,6 @@
3131
described_class.new(io: io)
3232
end
3333

34-
it "delegates the size to io if unavailable" do
35-
io = File.open('Gemfile')
36-
37-
expect(File)
38-
.to receive(:basename)
39-
.with(io)
40-
.and_return "delegated"
41-
42-
described_class.new(io: io)
43-
end
44-
4534
it "wraps the io in MiniIO" do
4635
io = :foo
4736
expect(WeTransfer::MiniIO)

0 commit comments

Comments
 (0)