aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/dir/home_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/dir/home_spec.rb')
-rw-r--r--spec/ruby/core/dir/home_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/dir/home_spec.rb b/spec/ruby/core/dir/home_spec.rb
index 73deca2cfd..713ba9db9a 100644
--- a/spec/ruby/core/dir/home_spec.rb
+++ b/spec/ruby/core/dir/home_spec.rb
@@ -17,7 +17,7 @@ describe "Dir.home" do
end
it "returns a non-frozen string" do
- Dir.home.frozen?.should == false
+ Dir.home.should_not.frozen?
end
end
@@ -35,7 +35,7 @@ describe "Dir.home" do
end
it "returns a non-frozen string" do
- Dir.home(ENV['USER']).frozen?.should == false
+ Dir.home(ENV['USER']).should_not.frozen?
end
end