diff options
Diffstat (limited to 'spec/ruby/library')
-rw-r--r-- | spec/ruby/library/rbconfig/rbconfig_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/rbconfig/rbconfig_spec.rb b/spec/ruby/library/rbconfig/rbconfig_spec.rb index 3f85523355..8fa63b6e27 100644 --- a/spec/ruby/library/rbconfig/rbconfig_spec.rb +++ b/spec/ruby/library/rbconfig/rbconfig_spec.rb @@ -9,8 +9,8 @@ describe 'RbConfig::CONFIG' do end end - # On MinGW, RbConfig points to installed dir, and these tests fail when testing this from build dir on AppVeyor. - platform_is_not :mingw do + # These directories have no meanings before the installation. + if RbConfig::TOPDIR it "['rubylibdir'] returns the directory containing Ruby standard libraries" do rubylibdir = RbConfig::CONFIG['rubylibdir'] File.directory?(rubylibdir).should == true |