Skip to content

Commit

Permalink
Fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamonholmgren committed Aug 13, 2015
1 parent b0536d7 commit e23b9d5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/functional/func_split_screen_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e23b9d5

Please sign in to comment.