moredip / Frank

Automated acceptance tests for native iOS apps
www.testingwithfrank.com
Apache License 2.0
1.21k stars 237 forks source link

Using the "click" method in a Mac step definition broken #244

Closed mattnunesspraggs closed 3 years ago

mattnunesspraggs commented 11 years ago

Using the "click(selector)" method in a Mac step definition is throwing an error:

uninitialized constant Frank::Cucumber::Rect::OpenStruct (NameError)

Traced it back to lib/frank-cucumber/rect.rb, the only place where OpenStruct is used, but there is a missing require statement. Submitting a pull request :)