diff options
Diffstat (limited to 'spec/rubyspec/core/thread/inspect_spec.rb')
-rw-r--r-- | spec/rubyspec/core/thread/inspect_spec.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/rubyspec/core/thread/inspect_spec.rb b/spec/rubyspec/core/thread/inspect_spec.rb index 759f6e756c..95e598eb6a 100644 --- a/spec/rubyspec/core/thread/inspect_spec.rb +++ b/spec/rubyspec/core/thread/inspect_spec.rb @@ -31,12 +31,14 @@ describe "Thread#inspect" do end it "describes a dying sleeping thread" do - ThreadSpecs.status_of_dying_sleeping_thread.status.should include('sleep') + ThreadSpecs.status_of_dying_sleeping_thread.inspect.should include('sleep') end - quarantine! do it "reports aborting on a killed thread" do - ThreadSpecs.status_of_aborting_thread.inspect.should include('aborting') + ThreadSpecs.status_of_dying_running_thread.inspect.should include('aborting') end + + it "reports aborting on a killed thread after sleep" do + ThreadSpecs.status_of_dying_thread_after_sleep.inspect.should include('aborting') end end |