current_view_controller test pass, re-enabling

This commit is contained in:
David Larrabee
2014-10-18 10:18:27 -04:00
parent 9e40911527
commit 01b0b3f328

View File

@@ -84,11 +84,10 @@ describe 'app' do
controller.dismissViewControllerAnimated(false, completion: nil)
end
# Disabling, this works, but isn't working in tests, TODO, fix
#it 'should return current_view_controller when root controller is UINavigationController with multiple controllers' do
#cur = rmq.app.current_view_controller
#cur.class.should == MainController
#end
it 'should return current_view_controller when root controller is UINavigationController with multiple controllers' do
cur = rmq.app.current_view_controller
cur.class.should == MainController
end
it 'should return current_view_controller when root controller is UITabController with multiple controllers' do
tabbar = UITabBarController.alloc.init