new tests for space

finds the bug in message creation!
This commit is contained in:
Torsten Ruger
2015-07-02 11:09:23 +03:00
parent 185f4b4697
commit caa4ae1cf0
5 changed files with 42 additions and 5 deletions

View File

@ -34,10 +34,10 @@ module Parfait
def late_init
message = Message.new(nil)
5.times do
new_message = Message.new message
message.set_caller new_message
@first_message = Message.new message
message.set_caller @first_message
message = @first_message
end
@first_message = Message.new message
init_layout
end

View File

@ -41,7 +41,7 @@ module Virtual
@objects = []
@booted = false
end
attr_reader :passes , :space , :class_mappings , :init , :objects
attr_reader :passes , :space , :class_mappings , :init , :objects , :booted
# run all passes before the pass given
# also collect the block to run the passes on and