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:
@ -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)
|
||||
|
Reference in New Issue
Block a user