summaryrefslogtreecommitdiff
path: root/spec/ruby/library/syslog/emerg_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/syslog/emerg_spec.rb')
-rw-r--r--spec/ruby/library/syslog/emerg_spec.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/ruby/library/syslog/emerg_spec.rb b/spec/ruby/library/syslog/emerg_spec.rb
new file mode 100644
index 0000000000..15cc49be32
--- /dev/null
+++ b/spec/ruby/library/syslog/emerg_spec.rb
@@ -0,0 +1,15 @@
+platform_is_not :windows do
+ require File.expand_path('../../../spec_helper', __FILE__)
+ require File.expand_path('../shared/log', __FILE__)
+ 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