Sha256: eb9b92fe54e8624d63236c9b790c3b727cf1350bfe5818bb0ee2c9dd0a3f0696

Contents?: true

Size: 540 Bytes

Versions: 2

Compression:

Stored size: 540 Bytes

Contents

describe "ProMotion::Screen UIImageView title functionality" do
  tests PM::Screen

  # Override controller to properly instantiate
  def controller
    rotate_device to: :portrait, button: :bottom
    @image_title_screen ||= ImageViewTitleScreen.new(nav_bar: true)
    @root_screen = @image_title_screen
    @image_title_screen.navigationController
  end

  after do
    @controller = nil
    @root_screen = nil
  end

  it "should allow an image title" do
    @root_screen.navigationItem.titleView.should.be.kind_of UIImageView
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ProMotion-1.2.1 spec/functional/func_image_view_title_screen.rb
ProMotion-1.2.0 spec/functional/func_image_view_title_screen.rb