Skip to content

Commit

Permalink
Explicitly set locale to German in course specs (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines authored Sep 8, 2024
1 parent d48e369 commit 78467de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/models/course_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,7 @@
self_item1 = Item.find_by(sort: "self", medium: @course_medium)
self_item2 = Item.find_by(sort: "self", medium: @lecture_medium)
self_item3 = Item.find_by(sort: "self", medium: @lesson_medium)
I18n.locale = :de
expect(@course.media_items_with_inheritance)
.to match_array([["Bem. 1.2 ", item1.id],
["SS 20, Satz 3.4 ", item2.id],
Expand Down

0 comments on commit 78467de

Please sign in to comment.