Sha256: 425f24973d13dc938fccc8e8a61dad2f21a204408d710d8c74476198024cdfdc
Contents?: true
Size: 459 Bytes
Versions: 83
Compression:
Stored size: 459 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/fixtures/classes' describe "Thread.current" do it "returns a thread" do current = Thread.current current.class.should == Thread end it "returns the current thread" do t = Thread.new { Thread.current } t.value.should equal(t) Thread.current.should_not equal(t.value) end end
Version data entries
83 entries across 83 versions & 1 rubygems