Skip to content

Commit 03278d0

Browse files
herwinwandrykonchin
authored andcommitted
Remove test for Fiber.current being available without extra require
We don't require fiber anywhere.
1 parent 019a454 commit 03278d0

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

core/fiber/current_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
require_relative '../../spec_helper'
22

33
describe "Fiber.current" do
4-
it "is available without an extra require" do
5-
ruby_exe("print Fiber.current.class", options: '--disable-gems --disable-did-you-mean').should == "Fiber"
6-
end
7-
84
it "returns the root Fiber when called outside of a Fiber" do
95
root = Fiber.current
106
root.should be_an_instance_of(Fiber)

0 commit comments

Comments
 (0)