aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/etc/shared
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/etc/shared')
-rw-r--r--spec/ruby/library/etc/shared/windows.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/library/etc/shared/windows.rb b/spec/ruby/library/etc/shared/windows.rb
new file mode 100644
index 0000000000..8bae235199
--- /dev/null
+++ b/spec/ruby/library/etc/shared/windows.rb
@@ -0,0 +1,7 @@
+describe :etc_on_windows, shared: true do
+ platform_is :windows do
+ it "returns nil" do
+ Etc.send(@method).should == nil
+ end
+ end
+end