REFACTOR: offline controller spec to requests (#5943)

This commit is contained in:
OsamaSayegh 2018-06-07 07:24:05 +03:00 committed by Guo Xiang Tan
parent 89ad2b5900
commit f5178ded56
1 changed files with 1 additions and 1 deletions

View File

@ -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