Skip to content

Commit

Permalink
make rubocop happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
Vakmeth committed Aug 21, 2024
1 parent 644402a commit 09188cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/domain/census_calculator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def deleted_vereins_ids
def verein_suisa_statuses(verein_ids)
census
.concerts
.where(concerts: { verein_id: verein_ids })
.where(concerts: {verein_id: verein_ids})
.pluck(:verein_id, :reason).uniq.each_with_object({}) do |(verein, reason), memo|
next if memo[verein].present? # any reason
memo[verein] = reason || "submitted" # coupling with view/i18n
Expand Down
4 changes: 2 additions & 2 deletions spec/abilities/group_ability_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@
let(:checked_person) { Fabricate(:person, primary_group: checked_group) }
let!(:checked_person_role) do
Fabricate(Group::VereinMitglieder::Mitglied.name.to_sym,
group: checked_group.children.where(type: Group::VereinMitglieder.sti_name).first,
person: checked_person)
group: checked_group.children.where(type: Group::VereinMitglieder.sti_name).first,
person: checked_person)
end

context "as admin of generalverband" do
Expand Down

0 comments on commit 09188cc

Please sign in to comment.