Skip to content

Commit

Permalink
Fix remaining tests
Browse files Browse the repository at this point in the history
  • Loading branch information
carlobeltrame committed Dec 21, 2023
1 parent b4b8cc3 commit 20affc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,4 @@
let(:person) { Fabricate(:person, language: 'it') }
it { expect(row.fetch(:first_language)).to eq 'IT' }
end

context 'without language' do
let(:person) { Fabricate(:person, language: nil) }
it { expect(row.fetch(:first_language)).to eq 'DE' }
end
end
2 changes: 1 addition & 1 deletion spec/domain/export/tabular/people/people_address_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
let(:person) { people(:bulei) }
let(:simple_headers) do
%w(Vorname Nachname Pfadiname Firmenname Firma Haupt-E-Mail Adresse PLZ Ort Land
Hauptebene Rollen Titel Anrede Korrespondenzsprache Digitale\ Korrespondenz\ bevorzugt
Hauptebene Rollen Titel Anrede Sprache Digitale\ Korrespondenz\ bevorzugt
Kantonalverband Id) << 'Id der Hauptebene'
end
let(:list) { Person.where(id: person) }
Expand Down

0 comments on commit 20affc1

Please sign in to comment.