summaryrefslogtreecommitdiff
path: root/spec/ruby/core/gc/profiler/disable_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/gc/profiler/disable_spec.rb')
-rw-r--r--spec/ruby/core/gc/profiler/disable_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/gc/profiler/disable_spec.rb b/spec/ruby/core/gc/profiler/disable_spec.rb
index 321a207deb..74089693eb 100644
--- a/spec/ruby/core/gc/profiler/disable_spec.rb
+++ b/spec/ruby/core/gc/profiler/disable_spec.rb
@@ -11,6 +11,6 @@ describe "GC::Profiler.disable" do
it "disables the profiler" do
GC::Profiler.disable
- GC::Profiler.enabled?.should == false
+ GC::Profiler.should_not.enabled?
end
end