bjoernalbers/aruba-doubles — pull request #4 by sax (2012-03-19 00:03:22+00:00)
Title: Add require 'cucumber' statement to double, for 1.8.7 compatibility

When using aruba-doubles with ree-1.8.7, I was receiving the following error:

yaml.rb:133 : `transfer': invalid subclass (TypeError)

This was because when the double unmarshalled its expectations from the embedded yaml, it did not have access to the necessary cucumber classes. Requiring 'cucumber' avoids this exception.

Tests pass in both 1.9.3-p125 and ree-1.8.7-2011.03. I did not feel that additional tests were required, but if you can think of any just let me know.