Commit 12725d0c8fae3853ad7d224ab241c2af6f357071

Authored by Arthur Neves
1 parent ef86ed49
Exists in master and in 1 other branch production

Fix http referer header test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
spec/controllers/problems_controller_spec.rb
... ... @@ -437,7 +437,7 @@ describe ProblemsController do
437 437 end
438 438  
439 439 it "should redirect back to the app page" do
440   - request.env["Referer"] = edit_app_path(@app)
  440 + request.env["HTTP_REFERER"] = edit_app_path(@app)
441 441 put :destroy_all, :app_id => @app.id
442 442 expect(response).to redirect_to(edit_app_path(@app))
443 443 end
... ...