RedirectBackError

when i am doing functional testing it gives a error,

“RedirectBackError: No HTTP_REFERER was set in the request to this
action, so redirect_to :back could not be call
successfully. If this is a test, make sure to specify
request.env[“HTTP_REFERER”].”

what i have to do?
any one can give the answer

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs