From fd0484176cb343c09e40bd93efb6cfbe2782a18b Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Tue, 22 Jul 2025 18:59:10 +0200 Subject: [PATCH] Format --- app/models/event/summarizer.rb | 6 +++--- test/models/user/staff_test.rb | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/event/summarizer.rb b/app/models/event/summarizer.rb index 305d7d520..f04d926bf 100644 --- a/app/models/event/summarizer.rb +++ b/app/models/event/summarizer.rb @@ -38,7 +38,7 @@ class Event::Summarizer #### Links to cards * Include inline links so that the user can navigate to the card. - * For link titles use the format `([#](link path))`. For example: `They fixed the problem with Safari layout issues ([#1234](/1065895976/collections/32/cards/1234))`. + * For link titles use the format `([#](link path))`. For example: `They fixed the problem with Safari layout issues ([#1234](/1065895976/collections/32/cards/1234))`. * Don't add the links at the end, put them in context always. * Make sure the link markdown format is valid: `[title](card path)`, without spaces separating both parts. * NEVER include just the link title without the URL. They should always be part of a valid markdown link. @@ -52,7 +52,7 @@ class Event::Summarizer @events = events @prompt = prompt - self.default_url_options[:script_name] = "/#{Account.sole.queenbee_id.to_s}" + self.default_url_options[:script_name] = "/#{Account.sole.queenbee_id}" end def summarize @@ -144,7 +144,7 @@ class Event::Summarizer * Path:#{collection_card_path(card.collection, card)} #### Comments - + #{card_comments_context_for(card)} PROMPT end diff --git a/test/models/user/staff_test.rb b/test/models/user/staff_test.rb index 7e6394b22..63df142d8 100644 --- a/test/models/user/staff_test.rb +++ b/test/models/user/staff_test.rb @@ -1,4 +1,4 @@ -require 'test_helper' +require "test_helper" class User::StaffTest < ActiveSupport::TestCase test "only 37s email addresses are considered staff" do