summaryrefslogtreecommitdiff
path: root/spec/ruby/core/io/constants_spec.rb
blob: f9dccd08b948085cd86dfd39fb795478487a9225 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require_relative '../../spec_helper'

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