Fix tests and rename request variable in specs to perform_request

Explanation: Using the variable name `request` might interfere with methods in Rails core system prevent successful test execution. See this issue: https://github.com/turbolinks/turbolinks-rails/issues/38
This commit is contained in:
Sebastian Serth
2018-10-08 09:53:04 +02:00
parent 9106ab182b
commit 90defa8f89
14 changed files with 80 additions and 79 deletions

View File

@ -1,6 +1,6 @@
require 'rails_helper'
describe ErrorPolicy do
describe CodeOcean::ErrorPolicy do
subject { described_class }
let(:error) { FactoryBot.build(:error) }