mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-02 22:42:49 +08:00
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