aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/syslog/warning_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/syslog/warning_spec.rb')
-rw-r--r--spec/ruby/library/syslog/warning_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/library/syslog/warning_spec.rb b/spec/ruby/library/syslog/warning_spec.rb
new file mode 100644
index 0000000000..85fcb3a355
--- /dev/null
+++ b/spec/ruby/library/syslog/warning_spec.rb
@@ -0,0 +1,9 @@
+platform_is_not :windows do
+ require File.expand_path('../../../spec_helper', __FILE__)
+ require File.expand_path('../shared/log', __FILE__)
+ require 'syslog'
+
+ describe "Syslog.warning" do
+ it_behaves_like :syslog_log, :warning
+ end
+end