aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/io/constants_spec.rb
blob: 0a2ea70560b0383ca96fedd30d3341bc9c199e3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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