gitlab-org--gitlab-foss/spec/views/groups/_home_panel.html.haml_spec.rb

18 lines
287 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2019-03-07 14:32:21 -05:00
require 'spec_helper'
RSpec.describe 'groups/_home_panel' do
2019-03-07 14:32:21 -05:00
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