mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
10 lines
201 B
Ruby
10 lines
201 B
Ruby
require_relative './environment.rb'
|
|
|
|
describe Tempfile do
|
|
it 'should return 0 when no data is written' do
|
|
tmp = Tempfile.new
|
|
tmp.write ''
|
|
tmp.close
|
|
_(tmp.size).must_equal 0
|
|
end
|
|
end
|