Skip to content

Commit 85fdcff

Browse files
committed
add the missing comma after instructor
1 parent c580333 commit 85fdcff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spec/controllers/courses_controller_spec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@
275275
old_start_at = course.start_at
276276
old_end_at = course.end_at
277277

278-
put_as instructor :update,
279-
params: { id: course.id, course: {
280-
start_at: Time.zone.parse('2026-01-05'),
281-
end_at: Time.zone.parse('2026-04-05')
282-
} }
278+
put_as instructor, :update,
279+
params: { id: course.id, course: {
280+
start_at: Time.zone.parse('2026-01-05'),
281+
end_at: Time.zone.parse('2026-04-05')
282+
} }
283283

284284
course.reload
285285
expect(course.start_at).to eq(old_start_at)

0 commit comments

Comments
 (0)