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

@ -5,13 +5,13 @@ require 'rails_helper'
RSpec.describe PingController do
render_views
describe 'index' do
before { allow(Runner.strategy_class).to receive(:health).and_return(true) }
it 'returns the wanted page and answer with HTTP Status 200' do
describe 'GET #index' do
before do
allow(Runner.strategy_class).to receive(:health).and_return(true)
get :index
expect(response).to have_http_status :ok
end
expect_json
expect_http_status(:ok)
end
end