Skip to content

Commit cd5f946

Browse files
committed
Refactor course seed as I put it in the wrong place in the file
1 parent e56af7c commit cd5f946

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

db/seeds/activities/mylearning.rb

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,29 +1391,29 @@
13911391

13921392
########################################################################################################################
13931393

1394-
Activity.find_or_initialize_by(stem_course_template_no: "6d35d662-d40e-f011-9989-6045bd0c58e0").tap do |activity|
1395-
activity.title = "Teaching programming with the micro:bit"
1396-
activity.credit = 60
1397-
activity.slug = "teaching-programming-with-the-micro-bit-online"
1394+
Activity.find_or_initialize_by(stem_course_template_no: "d6225144-4748-f011-877a-6045bd0b0fca").tap do |activity|
1395+
activity.title = "Introduction to the Bee-bot in key stage 1"
1396+
activity.credit = 20
1397+
activity.slug = "introduction-to-the-bee-bot-in-key-stage-1-online"
13981398
activity.category = "online"
13991399
activity.self_certifiable = false
14001400
activity.provider = "stem-learning"
1401-
activity.stem_activity_code = "CO018"
1401+
activity.stem_activity_code = "CO256"
14021402
activity.always_on = true
14031403

14041404
activity.programmes = [primary_certificate]
14051405
end.save!
14061406

14071407
########################################################################################################################
14081408

1409-
Activity.find_or_initialize_by(stem_course_template_no: "d6225144-4748-f011-877a-6045bd0b0fca").tap do |activity|
1410-
activity.title = "Introduction to the Bee-bot in key stage 1"
1411-
activity.credit = 20
1412-
activity.slug = "introduction-to-the-bee-bot-in-key-stage-1-online"
1409+
Activity.find_or_initialize_by(stem_course_template_no: "6d35d662-d40e-f011-9989-6045bd0c58e0").tap do |activity|
1410+
activity.title = "Teaching programming with the micro:bit"
1411+
activity.credit = 60
1412+
activity.slug = "teaching-programming-with-the-micro-bit-online"
14131413
activity.category = "online"
14141414
activity.self_certifiable = false
14151415
activity.provider = "stem-learning"
1416-
activity.stem_activity_code = "CO256"
1416+
activity.stem_activity_code = "CO018"
14171417
activity.always_on = true
14181418

14191419
activity.programmes = [primary_certificate]

0 commit comments

Comments
 (0)