
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
7 lines
245 B
Ruby
7 lines
245 B
Ruby
FactoryBot.define do
|
|
factory :error, class: CodeOcean::Error do
|
|
association :execution_environment, factory: :ruby
|
|
message { "exercise.rb:4:in `<main>': undefined local variable or method `foo' for main:Object (NameError)" }
|
|
end
|
|
end
|