2019-10-08 08:06:01 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-03-07 14:32:21 -05:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 11:08:50 -04:00
|
|
|
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
|