spec/split_screen_spec.rb in ProMotion-0.6.2 vs spec/split_screen_spec.rb in ProMotion-0.6.3
- old
+ new
@@ -26,15 +26,15 @@
@app.window.rootViewController.should == @split_screen
end
it "should set the first viewController to MasterScreen" do
@split_screen.master_screen.should == @master_screen
- @split_screen.viewControllers.first.should == @master_screen.main_controller
+ @split_screen.viewControllers.first.should == @master_screen.pm_main_controller
end
it "should set the second viewController to DetailScreen" do
@split_screen.detail_screen.should == @detail_screen
- @split_screen.viewControllers.last.should == @detail_screen.main_controller
+ @split_screen.viewControllers.last.should == @detail_screen.pm_main_controller
end
it "should set the title on both screens" do
@master_screen.class.send(:get_title).should == "Master"
@master_screen.title.should == "Master"