summaryrefslogtreecommitdiffstats
path: root/spec/door_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/door_spec.rb')
-rw-r--r--spec/door_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/door_spec.rb b/spec/door_spec.rb
index b836786..43b98a1 100644
--- a/spec/door_spec.rb
+++ b/spec/door_spec.rb
@@ -17,13 +17,10 @@ describe Iotas::Door do
it "require_p release_p" do
door = Iotas::Door.new 'hell', @spin
p0 = door.require_p Iotas::Particle
- p0.src.should be door
p1 = door.require_p Iotas::Particle
- p1.src.should be door
(p0===p1).should be_false
door.release_p p0
p2 = door.require_p Iotas::Particle
- p2.src.should be door
(p0===p2).should be_true
end
#