jstorimer/spin — pull request #46 by tysontate (2012-06-07 22:02:37+00:00)
Title: Fix an issue with files_to_load containing nil and duplicate values

I encountered an issue where `files_to_load` was:

[nil, nil, "spec/requests/foo_spec.rb"]

Given the following from ARGV:

["spec/controllers/foo_controller_spec.rb", "spec/requests/api/v1/foo_spec.rb", "spec/requests/foo_spec.rb"]

(The first two files, of course, didn't exist.)

This pull request fixes it.