Sha256: 53fc793a813641ee7da2ba5270fc7aba3e77e27d6fa7da0bc4e71c4e80008064

Contents?: true

Size: 519 Bytes

Versions: 21

Compression:

Stored size: 519 Bytes

Contents

describe "ProMotion::Screen UIImage string title" do
  def controller
    @controller = ImageTitleScreen.new(nav_bar: true)
  end

  it "should allow an image title as a String" do
    controller.navigationItem.titleView.should.be.kind_of UIImageView
  end
end

describe "ProMotion::Screen UIImage title" do
  def controller
    @controller = UIImageTitleScreen.new(nav_bar: true)
  end

  it "should allow an image title as a UIImage" do
    controller.navigationItem.titleView.should.be.kind_of UIImageView
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
ProMotion-2.0.1 spec/unit/image_title_screen.rb