aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/rbconfig/rbconfig_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/rbconfig/rbconfig_spec.rb')
-rw-r--r--spec/ruby/library/rbconfig/rbconfig_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/library/rbconfig/rbconfig_spec.rb b/spec/ruby/library/rbconfig/rbconfig_spec.rb
index 8fa63b6e27..71e3d376d1 100644
--- a/spec/ruby/library/rbconfig/rbconfig_spec.rb
+++ b/spec/ruby/library/rbconfig/rbconfig_spec.rb
@@ -10,7 +10,7 @@ describe 'RbConfig::CONFIG' do
end
# These directories have no meanings before the installation.
- if RbConfig::TOPDIR
+ guard -> { RbConfig::TOPDIR } do
it "['rubylibdir'] returns the directory containing Ruby standard libraries" do
rubylibdir = RbConfig::CONFIG['rubylibdir']
File.directory?(rubylibdir).should == true