Files
ProMotion/app/test_screens/functional_screen.rb
Jamon Holmgren 4119d8d037 Tests passing
2014-05-10 15:33:22 -07:00

16 lines
319 B
Ruby

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