blob: b9dd6b658bea3a1a78ed9a2af923ebcafabe5eb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
require File.expand_path('../../../spec_helper', __FILE__)
describe "File::NULL" do
platform_is :windows do
it "returns NUL as a string" do
File::NULL.should == 'NUL'
end
end
platform_is_not :windows do
it "returns /dev/null as a string" do
File::NULL.should == '/dev/null'
end
end
end
|