Files
RubyMotion/lib/motion
Katsuyoshi Ito 8b73bafe8c to setup controller using block.
I implemented @colinta 's idea which was discussed below link.
https://groups.google.com/d/msg/rubymotion/M9T6LybaEUs/AWip_Vwy5_4J

When you want to setup UIViewController, you can setup it in a block of tests method.

# Example
  describe MyViewController do

    tests MyViewController do |controller|
      # you can set data to the controller here
      controller.my_data = "foo"
    end

    .
    .
  end
2013-06-30 00:29:48 +09:00
..
2013-06-30 00:29:48 +09:00
2013-06-16 20:02:43 -04:00
2.2
2013-06-14 01:02:53 +09:00