debian-mirror-gitlab/spec/features/static_site_editor_spec.rb

20 lines
431 B
Ruby
Raw Normal View History

2020-04-22 19:07:51 +05:30
# frozen_string_literal: true
require 'spec_helper'
describe 'Static Site Editor' do
2020-05-24 23:13:21 +05:30
let_it_be(:user) { create(:user) }
let_it_be(:project) { create(:project, :public, :repository) }
2020-04-22 19:07:51 +05:30
before do
project.add_maintainer(user)
sign_in(user)
visit project_show_sse_path(project, 'master/README.md')
end
it 'renders Static Site Editor page' do
expect(page).to have_selector('#static-site-editor')
end
end