summaryrefslogtreecommitdiff
path: root/spec/ruby/library/syslog/emerg_spec.rb
blob: 86938ce8897c5901e4a90e607bdda2e32c460eea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require_relative '../../spec_helper'

ruby_version_is ""..."3.4" do

  platform_is_not :windows do
    require_relative 'shared/log'
    require 'syslog'

    describe "Syslog.emerg" do
      # Some way needs do be found to prevent this spec
      # from causing output on all open terminals. If this
      # is not possible, this spec may need a special guard
      # that only runs when requested.
      quarantine! do
        it_behaves_like :syslog_log, :emerg
      end
    end
  end
end