Fix error, submission, hints and help views

This commit is contained in:
Sebastian Serth
2018-09-30 13:16:07 +02:00
parent 15b1670511
commit 9666683bd7
18 changed files with 88 additions and 79 deletions

View File

@@ -1,5 +1,5 @@
FactoryBot.define do
factory :error, class: Error 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

View File

@@ -1,6 +1,6 @@
require 'rails_helper'
describe Error do
describe CodeOcean::Error do
let(:error) { described_class.create }
it 'validates the presence of an execution environment' do