Sha256: 47d9c6320edad3df96422bd84d54a925eeb36d9bc03facc20937a01d8561e68d

Contents?: true

Size: 532 Bytes

Versions: 2

Compression:

Stored size: 532 Bytes

Contents

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

  # Override controller to properly instantiate
  def controller
    rotate_device to: :portrait, button: :bottom
    @image_title_screen ||= ImageTitleScreen.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_title_screen.rb
ProMotion-1.2.0 spec/functional/func_image_title_screen.rb