debian-mirror-gitlab/spec/views/groups/_home_panel.html.haml_spec.rb
2020-08-09 17:44:08 +05:30

17 lines
287 B
Ruby

# 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