mirror of
https://github.com/neocities/neocities.git
synced 2025-08-21 00:24:29 +02:00
11 lines
231 B
Ruby
11 lines
231 B
Ruby
# frozen_string_literal: true
|
|
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
|