changed request to local
fixed sunspot for rspec