mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:37:37 +08:00
REFACTOR: offline controller spec to requests (#5943)
This commit is contained in:

committed by
Guo Xiang Tan

parent
89ad2b5900
commit
f5178ded56
8
spec/requests/offline_controller_spec.rb
Normal file
8
spec/requests/offline_controller_spec.rb
Normal file
@ -0,0 +1,8 @@
|
||||
require 'rails_helper'
|
||||
|
||||
describe OfflineController do
|
||||
it "can hit index" do
|
||||
get "/offline.html"
|
||||
expect(response.status).to eq(200)
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user