Align project files with CodeHarbor

Since both projects are developed together and by the same team, we also want to have the same code structure and utility methods available in both projects. Therefore, this commit changes many files, but without a functional change.
This commit is contained in:
Sebastian Serth
2023-10-10 23:25:02 +02:00
parent fb3e8972d9
commit 99bd46af1a
112 changed files with 433 additions and 320 deletions

View File

@ -2,7 +2,7 @@
require 'rails_helper'
describe RequestForCommentsController do
RSpec.describe RequestForCommentsController do
render_views
let(:user) { create(:admin) }
@ -61,12 +61,10 @@ describe RequestForCommentsController do
end
describe 'GET #index' do
it 'renders the index template' do
get :index
before { get :index }
expect(response).to have_http_status :ok
expect(response).to render_template :index
end
expect_template(:index)
expect_http_status(:ok)
it 'shows only rfc`s belonging to selected study group' do
my_study_group = create(:study_group)