Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
  • Loading branch information
alecslupu and andreslucena committed Nov 9, 2023
1 parent 3885b74 commit 7f2559f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -2,7 +2,7 @@

namespace :decidim do
namespace :upgrade do
desc "Modify nicknames with random numbers when exists similar ones case insensitively"
desc "Remove duplicated endorsements"
task fix_duplicate_endorsements: :environment do
logger = Logger.new($stdout)
logger.info("Removing duplicate endorsements...")
Expand Down
2 changes: 1 addition & 1 deletion decidim-core/spec/models/decidim/endorsement_spec.rb
Expand Up @@ -84,7 +84,7 @@ module Decidim
create(:endorsement, resource:, author:, user_group: other_user_group)
end

it "sorts user_grup endorsements first and then by created_at" do
it "sorts user_group endorsements first and then by created_at" do
expected_sorting = [
other_endorsement1.id, endorsement.id,
other_endorsement2.id
Expand Down

0 comments on commit 7f2559f

Please sign in to comment.