spec/unit/screen_helpers_spec.rb in ProMotion-2.4.2 vs spec/unit/screen_helpers_spec.rb in ProMotion-2.5.0.beta1
- old
+ new
@@ -133,10 +133,10 @@
new_screen.parent_screen.should == @screen
new_screen.title.should == 'Some Title'
new_screen.modal?.should == true
new_screen.hidesBottomBarWhenPushed.should == true
new_screen.nav_bar?.should == true
- new_screen.navigationController.isNavigationBarHidden.should == true
+ new_screen.instance_variable_get(:@screen_options)[:hide_nav_bar].should == true
end
it "should present the navigationController when showing a modal screen" do
new_screen = @screen.send(:set_up_screen_for_open, BasicScreen, modal: true)