1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/spec/ruby/core/io/constants_spec.rb

20 lines
380 B
Ruby
Raw Normal View History

require File.expand_path('../../../spec_helper', __FILE__)
describe "IO::SEEK_SET" do
it "is defined" do
IO.const_defined?(:SEEK_SET).should == true
end
end
describe "IO::SEEK_CUR" do
it "is defined" do
IO.const_defined?(:SEEK_CUR).should == true
end
end
describe "IO::SEEK_END" do
it "is defined" do
IO.const_defined?(:SEEK_END).should == true
end
end