From d090fd714f8cd4dd831c6e59c18b1423b19c7b60 Mon Sep 17 00:00:00 2001 From: Mark Rickert Date: Sat, 12 Oct 2013 00:45:03 -0400 Subject: [PATCH] Add passing test for overriding split view button in portrait mode. --- spec/functional/func_split_screen_spec.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/functional/func_split_screen_spec.rb b/spec/functional/func_split_screen_spec.rb index 50c2944..93ff73c 100644 --- a/spec/functional/func_split_screen_spec.rb +++ b/spec/functional/func_split_screen_spec.rb @@ -63,4 +63,12 @@ describe "Split screen functional" do end + it "should override the title on the button" do + rotate_device to: :portrait, button: :bottom + + test_title = "Test Title" + @controller = @app.open_split_screen @master, @detail, button_title: test_title + @detail.navigationItem.leftBarButtonItem.title.should == test_title + end + end