submission controller spec - problem with Rails.logger.error

This commit is contained in:
yqbk
2016-06-14 16:07:44 +02:00
parent 4e5c3ba071
commit 195fd9c3f9
4 changed files with 7 additions and 3 deletions

View File

@ -8,7 +8,7 @@ class ErrorsController < ApplicationController
def create
@error = Error.new(error_params)
authorize @error
authorize!
hint = Whistleblower.new(execution_environment: @error.execution_environment).generate_hint(@error.message)
respond_to do |format|
format.json do