Skip to content

Commit ea92c84

Browse files
committed
Update name of ten-block-mission for experience-cs
When I ran the rake task locally, I saw the following output: > bundle exec rake projects:create_experience_cs_examples Scratch project with identifier 'experience-cs-example' already exists Scratch project with identifier 'experience-cs-example' has not changed Scratch project with identifier 'dialogue-in-scratch' already exists Scratch project with identifier 'dialogue-in-scratch' has not changed Scratch project with identifier 'ten-block-mission' already exists Scratch project with identifier 'ten-block-mission' updated successfully Scratch project with identifier 'blank-scratch-starter' already exists Scratch project with identifier 'blank-scratch-starter' has not changed Scratch project with identifier 'lets-explore-scratch' already exists Scratch project with identifier 'lets-explore-scratch' has not changed Scratch project with identifier 'transforming-sprites' already exists Scratch project with identifier 'transforming-sprites' has not changed This suggests that only the `ten-block-mission` project was updated as intended. I then ran the following command to check the attributes for that project had been updated correctly: > rails r "pp Project.only_scratch(true).find_by(identifier: 'ten-block-mission')" id: "2b037df1-3140-47ae-8c05-7dc83ea76a94", user_id: nil, name: "Ten Block Mission", identifier: "ten-block-mission", project_type: "scratch", created_at: Thu, 01 May 2025 15:01:55.815684000 UTC +00:00, updated_at: Tue, 13 May 2025 10:33:04.817462000 UTC +00:00, remixed_from_id: nil, locale: "en", remix_origin: nil, school_id: nil, lesson_id: nil, instructions: nil> I can see that the name has been changed to "Ten Block Mission" as expected. The only other attribute that had changed was the `updated_at` as you would expect.
1 parent 58da6ca commit ea92c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/projects.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ namespace :projects do
2727
identifier: 'ten-block-mission',
2828
locale: 'en',
2929
project_type: Project::Types::SCRATCH,
30-
name: '10 Block Mission',
30+
name: 'Ten Block Mission',
3131
user_id: nil
3232
},
3333
{

0 commit comments

Comments
 (0)