Sha256: 3efae4276036bb0a74b78bd99dfef51fb0f9972ef65b458e8835204b8c7a4b0a

Contents?: true

Size: 335 Bytes

Versions: 27

Compression:

Stored size: 335 Bytes

Contents

describe "ProMotion::Screen UIView title functionality" do
  def controller
    @controller ||= ViewTitleScreen.new(nav_bar: true)
  end

  it "should allow a non-image UIView title" do
    controller.navigationItem.titleView.should.not.be.kind_of UIImageView
    controller.navigationItem.titleView.should.be.kind_of UIView
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
ProMotion-3.0.0 spec/unit/view_title_screen_spec.rb
ProMotion-2.8.2 spec/unit/view_title_screen_spec.rb
ProMotion-2.8.1 spec/unit/view_title_screen_spec.rb
ProMotion-2.8.0 spec/unit/view_title_screen_spec.rb
ProMotion-2.7.1 spec/unit/view_title_screen_spec.rb
ProMotion-2.7.0 spec/unit/view_title_screen_spec.rb
ProMotion-2.6.1 spec/unit/view_title_screen_spec.rb
ProMotion-2.6.0 spec/unit/view_title_screen_spec.rb
ProMotion-2.5.0 spec/unit/view_title_screen_spec.rb
ProMotion-2.5.0.beta1 spec/unit/view_title_screen_spec.rb
ProMotion-2.4.2 spec/unit/view_title_screen_spec.rb
ProMotion-2.4.1 spec/unit/view_title_screen_spec.rb
ProMotion-2.4.0 spec/unit/view_title_screen_spec.rb
ProMotion-2.3.1 spec/unit/view_title_screen.rb
ProMotion-2.3.0 spec/unit/view_title_screen.rb
ProMotion-2.2.2 spec/unit/view_title_screen.rb
ProMotion-2.2.1 spec/unit/view_title_screen.rb
ProMotion-2.2.0 spec/unit/view_title_screen.rb
ProMotion-2.1.0 spec/unit/view_title_screen.rb
ProMotion-2.1.0.beta1 spec/unit/view_title_screen.rb