RubyCommotion/uikit-dynamics-catalog — pull request #20 by dennismajor1 (2014-04-06 12:36:56+00:00)
Title: Tests

Will - this pull request is largely addition and refactoring of spec tests. I came across another new test issue and understand where where the windows test fails for 1 window - now saying there are 6:

* The spec test for DecorationView (subclass of UIView) crashes for no reason that I can determine - have commented out tests and will investigate further.

* I'm fairly certain the number of windows test shows six is due to the fact that windows and controllers from each spec file are not being released - I tried adding a method to the SpecHelp spec file but while it didn't crash it doesn't seem to release the current window. Tried `@app.windows[0] = nil`

I test ran the app on my machine and all examples work as expected - with one exception `AttachmentsView`. It works if you pull the box around the view using the red attachment view but if you attempt to pull the box itself the app crashes due to nil error - will investigate further. This does not happen in the Obj-C version of the app.