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

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
get rid of useless example
  • Loading branch information
arnoFleming committed Mar 1, 2019
1 parent 05d6017 commit 89cf005
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions spec/we_transfer/we_transfer_file_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,6 @@
described_class.new(io: io)
end

it "delegates the size to io if unavailable" do
io = File.open('Gemfile')

expect(File)
.to receive(:basename)
.with(io)
.and_return "delegated"

described_class.new(io: io)
end

it "wraps the io in MiniIO" do
io = :foo
expect(WeTransfer::MiniIO)
Expand Down

0 comments on commit 89cf005

Please sign in to comment.