summaryrefslogtreecommitdiff
path: root/spec/ruby/library/thread/shared/queue/closed.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/thread/shared/queue/closed.rb')
-rw-r--r--spec/ruby/library/thread/shared/queue/closed.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/ruby/library/thread/shared/queue/closed.rb b/spec/ruby/library/thread/shared/queue/closed.rb
deleted file mode 100644
index b3cea0c524..0000000000
--- a/spec/ruby/library/thread/shared/queue/closed.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-describe :queue_closed?, shared: true do
- it "returns false initially" do
- queue = @object.call
- queue.closed?.should be_false
- end
-
- it "returns true when the queue is closed" do
- queue = @object.call
- queue.close
- queue.closed?.should be_true
- end
-end