mirror of
https://github.com/zhigang1992/rmq.git
synced 2026-01-12 17:52:17 +08:00
current_view_controller test pass, re-enabling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user