diff --git a/spec/controllers/offline_controller_spec.rb b/spec/requests/offline_controller_spec.rb similarity index 84% rename from spec/controllers/offline_controller_spec.rb rename to spec/requests/offline_controller_spec.rb index b583747b7d4..3bbea353743 100644 --- a/spec/controllers/offline_controller_spec.rb +++ b/spec/requests/offline_controller_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' describe OfflineController do it "can hit index" do - get :index + get "/offline.html" expect(response.status).to eq(200) end end