mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to ruby/spec@9a501a8
This commit is contained in:
parent
d070523e7b
commit
a66bc2c011
41 changed files with 699 additions and 639 deletions
|
@ -49,6 +49,14 @@ describe "Tempfile.open" do
|
|||
tempfile.binmode?.should be_true
|
||||
end
|
||||
end
|
||||
|
||||
it "uses a blank string for basename when passed no arguments" do
|
||||
Tempfile.open() do |tempfile|
|
||||
@tempfile = tempfile
|
||||
tempfile.closed?.should be_false
|
||||
end
|
||||
@tempfile.should_not == nil
|
||||
end
|
||||
end
|
||||
|
||||
describe "Tempfile.open when passed a block" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue