spec/helpers/functional_screen.rb in ProMotion-0.7.4 vs spec/helpers/functional_screen.rb in ProMotion-0.7.5
- old
+ new
@@ -1,15 +1,15 @@
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
\ No newline at end of file
+end