From ac3a7f52c9c61b87f6f8586cb046e98455314966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 26 Jun 2012 16:47:28 +0200 Subject: update door_specs --- spec/door_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/door_spec.rb b/spec/door_spec.rb index 0c2dafe..d86bb5a 100644 --- a/spec/door_spec.rb +++ b/spec/door_spec.rb @@ -17,10 +17,10 @@ describe Edoors::Door do it "require_p release_p" do door = Edoors::Door.new 'hell', @spin p0 = door.require_p Edoors::Particle - p1 = door.require_p Edoors::Particle + p1 = door.require_p (p0===p1).should be_false door.release_p p0 - p2 = door.require_p Edoors::Particle + p2 = door.require_p (p0===p2).should be_true end # @@ -67,7 +67,7 @@ describe Edoors::Door do p0.add_dst 'RELEASE' p0.split_dst! d0.process_p p0 - p1 = d0.require_p Edoors::Particle + p1 = d0.require_p p1.should be p0 p0.clear_dsts! # -- cgit v1.1-2-g2b99