is this for the rails unit tests (rake test) or for the test environment running on test.learn.code.org? The latter is supposed to be like prod...

In this case I imagine it doesn't affect test.learn.code.org since there won't be a "Report Script" stage so it doesn't matter. But maybe this could also be done in the setup for reports_controller_test if it's only for that one test.