Hey Elad, thanks again! This works when I specify the environment in the rake command.
Just to correct myself, I indeed have cequel.yml which was created through the provided generator. I put the ENV['RAILS_ENV'] = 'test' in the config/environment.rb file. It doesn't seem to recognize the environment set there but works perfectly fine via command line.
Since I assume build/CI systems all provide this parameter via command line or setting their rbenv, I can just do it this way or write a script. Thanks again.