From e23b9d5c8b6d435a09b34cbe1c49ac4348f09a24 Mon Sep 17 00:00:00 2001 From: Jamon Holmgren Date: Thu, 13 Aug 2015 13:10:18 -0700 Subject: [PATCH] Fix functional test --- spec/functional/func_split_screen_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/functional/func_split_screen_spec.rb b/spec/functional/func_split_screen_spec.rb index 780bb2ea..3f8e300c 100644 --- a/spec/functional/func_split_screen_spec.rb +++ b/spec/functional/func_split_screen_spec.rb @@ -21,7 +21,7 @@ def controller it "should allow opening a detail view from the master view" do - @master.open BasicScreen, in_detail: true, animated: false + @master.open BasicScreen.new(nav_bar: true), in_detail: true, animated: false view("Master").should.be.kind_of UINavigationItemView view("Basic").should.be.kind_of UINavigationItemView @@ -31,7 +31,7 @@ def controller it "should allow opening another view from the master view" do - @master.open BasicScreen, animated: false + @master.open BasicScreen.new(nav_bar: true), animated: false view("Basic").should.be.kind_of UINavigationItemView view("Detail").should.be.kind_of UINavigationItemView @@ -40,7 +40,7 @@ def controller it "should allow opening a master view from the detail view" do - @detail.open BasicScreen, in_master: true, animated: false + @detail.open BasicScreen.new(nav_bar: true), in_master: true, animated: false view("Basic").should.be.kind_of UINavigationItemView view("Detail").should.be.kind_of UINavigationItemView @@ -50,7 +50,7 @@ def controller it "should allow opening another view from the detail view" do - @detail.open BasicScreen, animated: false + @detail.open BasicScreen.new(nav_bar: true), animated: false view("Basic").should.be.kind_of UINavigationItemView view("Master").should.be.kind_of UINavigationItemView