Skip to content

Commit

Permalink
Remove test for Fiber.current being available without extra require
Browse files Browse the repository at this point in the history
We don't require fiber anywhere.
  • Loading branch information
herwinw authored and andrykonchin committed Feb 10, 2025
1 parent 019a454 commit 03278d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/fiber/current_spec.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
require_relative '../../spec_helper'

describe "Fiber.current" do
it "is available without an extra require" do
ruby_exe("print Fiber.current.class", options: '--disable-gems --disable-did-you-mean').should == "Fiber"
end

it "returns the root Fiber when called outside of a Fiber" do
root = Fiber.current
root.should be_an_instance_of(Fiber)
Expand Down

0 comments on commit 03278d0

Please sign in to comment.