This is what my spec file looks like: spec/api/v1/projects_spec.rb
require \"spec_helper\"
describe \"/api/v1/projects\", :type => :api do
You're still including Devise::TestHelpers somewhere. Check and see what "spec_helper" is loading.
Instead of just including the Devise Test Helper, you can specify it's type, so that it's not included in routing spec:
config.include Devise::TestHelpers, :type => :helper
config.include Devise::TestHelpers, :type => :controller