Sha256: 277823e9cf51e466eedd5919989cad3f856079404ae121ebfc190f3532185d1a

Contents?: true

Size: 319 Bytes

Versions: 14

Compression:

Stored size: 319 Bytes

Contents

class FunctionalScreen < PM::Screen
  attr_accessor :button_was_triggered

  title "Functional"

  def will_appear
    self.button_was_triggered = false
    add UILabel.alloc.initWithFrame([[ 10, 10 ], [ 300, 40 ]]),
      text: "Label Here"
  end

  def triggered_button
    self.button_was_triggered = true
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ProMotion-1.2.1 spec/helpers/functional_screen.rb
ProMotion-1.2.0 spec/helpers/functional_screen.rb
ProMotion-1.1.2 spec/helpers/functional_screen.rb
ProMotion-1.1.1 spec/helpers/functional_screen.rb
ProMotion-1.1.0 spec/helpers/functional_screen.rb
ProMotion-1.1.0.rc1 spec/helpers/functional_screen.rb
ProMotion-1.0.4 spec/helpers/functional_screen.rb
ProMotion-1.0.3 spec/helpers/functional_screen.rb
ProMotion-1.0.2 spec/helpers/functional_screen.rb
ProMotion-1.0.1 spec/helpers/functional_screen.rb
ProMotion-1.0.0 spec/helpers/functional_screen.rb
ProMotion-0.7.8 spec/helpers/functional_screen.rb
ProMotion-0.7.6 spec/helpers/functional_screen.rb
ProMotion-0.7.5 spec/helpers/functional_screen.rb