From 029efd79046c8c513d320f9df7af05841073bba4 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Thu, 9 May 2024 00:39:30 +0300 Subject: [PATCH] Fix JavaScript error for ExternalUserStatistics Previously, an exercise without visible files was used. While this worked for the test, it was semantically problematic, since the resulting submissions also lacked files. --- spec/features/external_user_statistics_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/external_user_statistics_spec.rb b/spec/features/external_user_statistics_spec.rb index be84cbbd..0bbc7ddf 100644 --- a/spec/features/external_user_statistics_spec.rb +++ b/spec/features/external_user_statistics_spec.rb @@ -4,7 +4,7 @@ require 'rails_helper' RSpec.describe 'ExternalUserStatistics', :js do let(:learner) { create(:external_user) } - let(:exercise) { create(:dummy, user:) } + let(:exercise) { create(:fibonacci, user:) } let(:study_group) { create(:study_group) } let(:password) { 'password123456' }