Add passing test for overriding split view button in portrait mode.

This commit is contained in:
Mark Rickert
2013-10-12 00:45:03 -04:00
parent 64f193dff5
commit d090fd714f

View File

@@ -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