Empact/roo — pull request #5 by tpickett66 (2012-07-12 16:02:27+00:00)
Title: Extract GenericSpreadsheet tests

I've done a several things here,

# Added a Gemfile to speed installation of the dependancies
# Added thought bot's shoulda as a dev dependency, I prefer the way tests read w/ it. I'll remove this if it doesn't do it for you.
# Extracted some of the test setup from test_roo.rb into test_helper.rb
# Extracted tests against methods on GenericSpreadsheet into their own file for maintainability.
# Added tests against Roo::GenericSpreadsheet.number_to_letter and corrected the algorithm to return correct results for very high numbers.

I've run test_generic_spreadsheet.rb with the latest version of all dependancies and against Rubies 1.8.7-p357, 1.9.3-p125 and JRuby-1.6.7 in 1.9 mode with all passing. The test file test_roo.rb does have some failures and errors that vary depending on which options are enabled and which interpreter I'm using but they were there when I checked out the code.