blob: 0e7c69acbaeaa6ca5e98abbe730205ca43915e4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
describe :queue_close, shared: true do
it "may be called multiple times" do
q = @object.call
q.close
q.closed?.should be_true
q.close # no effect
q.closed?.should be_true
end
it "returns self" do
q = @object.call
q.close.should == q
end
end
|