debian-mirror-gitlab/spec/requests/pwa_controller_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
328 B
Ruby
Raw Normal View History

2022-07-16 23:28:13 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe PwaController do
describe 'GET #offline' do
it 'responds with static HTML page' do
get offline_path
expect(response.body).to include('You are currently offline')
expect(response).to have_gitlab_http_status(:success)
end
end
end