Had accidentally overwritten Batting with almost empty file. Restored it using Git.:
Made it use pitching file if given (by running 'FILE=Pitching-07-12.csv rspec'wq)
Close - number of players 2407 instead of 2405
Better instructions for installing and using Ruby 2.1.3 and .rubyversion
Better instructions for installing and using Ruby 2.1.3 and .rubyversion
Down to 3 failures with new players hash instead of array
Down to 3 failures with new players hash instead of array
Down to two failures
One falure - player.AB equals 2 instead of 4
Back to 2 failures - but checking for attributes_array in players - some of them should have arrays size > 1 but they don't
Back down to one failed test
Getting a bit further
Removed unneeded test - got all tests passing
Tidy up
Failing test for Oakland 2007 slugging average
Solved problem caused by copying and pasting the slugging percentage formula out of a PDF file - '-' was not a minus
Removed unneeded files
Tidy up