aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/logger/severity_spec.rb
blob: a4219365dd77bd6e84c9c9a233991b03ef0e4699 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require File.expand_path('../../../spec_helper', __FILE__)
require 'logger'

describe "Logger::Severity" do
  it "defines Logger severity constants" do
    Logger::DEBUG.should == 0
    Logger::INFO.should == 1
    Logger::WARN.should == 2
    Logger::ERROR.should == 3
    Logger::FATAL.should == 4
    Logger::UNKNOWN.should == 5
  end
end