summaryrefslogtreecommitdiff
path: root/spec/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby')
-rw-r--r--spec/ruby/library/rbconfig/rbconfig_spec.rb20
1 files changed, 9 insertions, 11 deletions
diff --git a/spec/ruby/library/rbconfig/rbconfig_spec.rb b/spec/ruby/library/rbconfig/rbconfig_spec.rb
index 0ac2f1d0f1..4d6824dfb4 100644
--- a/spec/ruby/library/rbconfig/rbconfig_spec.rb
+++ b/spec/ruby/library/rbconfig/rbconfig_spec.rb
@@ -37,17 +37,15 @@ describe 'RbConfig::CONFIG' do
RUBY
end
- platform_is_not :windows do
- guard -> {RbConfig::TOPDIR} do
- it "libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED" do
- libdir = RbConfig::CONFIG[RbConfig::CONFIG['libdirname'] || 'libdir']
- libruby_so = "#{libdir}/#{RbConfig::CONFIG['LIBRUBY_SO']}"
- case RbConfig::CONFIG['ENABLE_SHARED']
- when 'yes'
- File.should.exist?(libruby_so)
- when 'no'
- File.should_not.exist?(libruby_so)
- end
+ guard -> {RbConfig::TOPDIR} do
+ it "libdir/LIBRUBY_SO is the path to libruby and it exists if and only if ENABLE_SHARED" do
+ libdir = RbConfig::CONFIG[RbConfig::CONFIG['libdirname'] || 'libdir']
+ libruby_so = "#{libdir}/#{RbConfig::CONFIG['LIBRUBY_SO']}"
+ case RbConfig::CONFIG['ENABLE_SHARED']
+ when 'yes'
+ File.should.exist?(libruby_so)
+ when 'no'
+ File.should_not.exist?(libruby_so)
end
end
end