mirror of
https://github.com/discourse/discourse.git
synced 2025-01-30 22:12:07 +08:00
REFACTOR: offline controller spec to requests (#5943)
This commit is contained in:
parent
89ad2b5900
commit
f5178ded56
|
@ -2,7 +2,7 @@ require 'rails_helper'
|
||||||
|
|
||||||
describe OfflineController do
|
describe OfflineController do
|
||||||
it "can hit index" do
|
it "can hit index" do
|
||||||
get :index
|
get "/offline.html"
|
||||||
expect(response.status).to eq(200)
|
expect(response.status).to eq(200)
|
||||||
end
|
end
|
||||||
end
|
end
|
Loading…
Reference in New Issue
Block a user