File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dashboard/test/controllers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ class ApiControllerTest < ActionController::TestCase
30
30
@student_flappy_1 = create ( :follower , section : @flappy_section ) . student_user
31
31
@student_flappy_1 . backfill_user_scripts
32
32
@student_flappy_1 . reload
33
-
34
- # Seed the RNG deterministically.
35
- srand 1
36
33
end
37
34
38
35
def create_script_with_lockable_stage
@@ -236,6 +233,9 @@ def make_progress_in_section(script)
236
233
end
237
234
238
235
test "should get surveys for section with script with anonymous level_group assessment" do
236
+ # Seed the RNG deterministically so we get the same "random" shuffling of results.
237
+ srand 1
238
+
239
239
script = create :script
240
240
241
241
sub_level1 = create :text_match , name : 'level_free_response' , type : 'TextMatch'
You can’t perform that action at this time.
0 commit comments