spec/unit/screen_spec.rb in ProMotion-2.5.0.beta1 vs spec/unit/screen_spec.rb in ProMotion-2.5.0

- old
+ new

@@ -447,10 +447,12 @@ @screen = HomeScreen.new @child = BasicScreen.new end it "#add_child_screen" do - @screen.add_child_screen @child + autorelease_pool do + @screen.add_child_screen @child + end @screen.childViewControllers.should.include(@child) @screen.childViewControllers.length.should == 1 @child.parent_screen.should == @screen end