Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_home_panel.html.haml_spec.rb « groups « views « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b8168b20450fe3ec4b3a78599e1510850b3d7eb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe 'groups/_home_panel' do
  let(:group) { create(:group) }

  before do
    assign(:group, group)
  end

  it 'renders the group ID' do
    render

    expect(rendered).to have_content("Group ID: #{group.id}")
  end
end