Modifying tests to account for new month

Tests were hard-coded for October 2013. Attempting to change tests to work
across month boundaries.
Adding 'date' to test file

Adding "require 'date'" to the test class.
Fixing tests

Fixing the first failing test, "generates the SQL for jobs started in the
current month".
Fixing faulty tests

The GenerateStatsSQL monthly tests relied on hard-coded dates for October 2013.
Removing the hard-coded values and replacing them with dynamically generated
dates.
Fixing get_dates_spec.rb

The tests in get_dates_spec.rb use hard-coded values for comparison. Replacing
the hard-coded values with dynamically generated ones.
Fixing write_stats_sql_spec.rb

Removing hard-coded date references and replacing them with dynamically-
generated dates. The hard-coded dates are causing tests to fail after the month
rolls over.
Fixing write_stats_sql_spec.rb

Typo in the tests: forgot the hash-brackets ( #{xxx} ), causing the tests to
FAIL.
Working on running SQL infile

Created the test for the SQL infile. Trying to go red -> green.
Working on the SQL infile feature
Working on the SQL infile feature
Argh. Everything is changing ...

In order to test the SQL infile functionality we need sample output to compare
the output to. However, the sample output will go out of date quickly unless we
can specify a certain (older, unchanging) file. So we need to start adding some
functionality for dealing with multiple files - a new one each day.
Working on run_mysql test

Changing run_mysql method to accept an 'infile_name' parameter. The method
creates an 'outfile_name' by changing the extension from '.in' to '.out' via
gsub. Then 'infile_name' and 'outfile_name' are used in the mysql CLI call.
Adding proper file locations to run_mysql

Changing the call to run_mysql in the test to include the directory, not just
the file name (duh). Changing outfile_name to account for directories too.
Fixing dumb type

Need to change the outfile_name twice. The first change modifies the
infile_name. The second change builds on the first, so it should use
outfile_name.
Changing write_file to use today's date

In WriteStatsSQL, the write_file method is hard-coded to a date. Change the
method to dynamically write a file according to today's date.
Adding some simple puts debugging
Adding sample output for "runs a specific SQL infile"

Ran the MySQL queries manually to get the output. Using the generated output
as the sample data for comparison.
Fixing typo in sample_output
Cleaning up run_stats_sql_spec.rb

Current tests are working. The run_mysql method now takes a single argument,
the filename of the generated SQL statements. Removed puts debugging and a
now-superfluous test.