debian-mirror-gitlab/spec/views/groups/settings/_general.html.haml_spec.rb

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

22 lines
532 B
Ruby
Raw Permalink Normal View History

2023-06-20 00:43:36 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 'groups/settings/_general.html.haml', feature_category: :subgroups do
describe 'Group Settings README' do
let_it_be(:group) { build_stubbed(:group) }
let_it_be(:user) { build_stubbed(:admin) }
before do
assign(:group, group)
allow(view).to receive(:current_user).and_return(user)
end
it 'renders #js-group-settings-readme' do
render
expect(rendered).to have_selector('#js-group-settings-readme')
end
end
end