summaryrefslogtreecommitdiff
path: root/spec/ruby/core/thread/exit_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/thread/exit_spec.rb')
-rw-r--r--spec/ruby/core/thread/exit_spec.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/ruby/core/thread/exit_spec.rb b/spec/ruby/core/thread/exit_spec.rb
index b2e923c680..dbcd889898 100644
--- a/spec/ruby/core/thread/exit_spec.rb
+++ b/spec/ruby/core/thread/exit_spec.rb
@@ -1,6 +1,11 @@
require_relative '../../spec_helper'
require_relative 'fixtures/classes'
-require_relative 'shared/exit'
+
+describe "Thread#exit" do
+ it "is an alias of Thread#kill" do
+ Thread.instance_method(:exit).should == Thread.instance_method(:kill)
+ end
+end
describe "Thread#exit!" do
it "needs to be reviewed for spec completeness"