set the environment to
'test' in spec_helper, then required the main file