Skip to content

Commit

Permalink
Replace gender option with valid value in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
entantoencuanto committed Apr 17, 2024
1 parent dbb9b4f commit 7f3ebd7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion spec/commands/decidim/create_omniauth_registration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module Comments
let(:verified_email) { email }
let(:country) { "Argentina" }
let(:date_of_birth) { "01/01/2000" }
let(:gender) { "Other" }
let(:gender) { "other" }
let(:location) { "Paris" }
let(:phone_number) { "0123456789" }
let(:postal_code) { "75001" }
Expand Down
2 changes: 1 addition & 1 deletion spec/commands/decidim/create_registration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module Comments
let(:current_locale) { "es" }
let(:country) { "Argentina" }
let(:date_of_birth) { "01/01/2000" }
let(:gender) { "Other" }
let(:gender) { "other" }
let(:location) { "Paris" }
let(:phone_number) { "0123456789" }
let(:postal_code) { "75001" }
Expand Down
2 changes: 1 addition & 1 deletion spec/forms/decidim/account_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module Decidim
let(:about) { "This is a description about me" }
let(:country) { "Argentina" }
let(:date_of_birth) { "01/01/2000" }
let(:gender) { "Other" }
let(:gender) { "other" }
let(:location) { "Paris" }
let(:phone_number) { "0123456789" }
let(:postal_code) { "75001" }
Expand Down
2 changes: 1 addition & 1 deletion spec/forms/decidim/omniauth_registration_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module Decidim
let(:oauth_signature) { OmniauthRegistrationForm.create_signature(provider, uid) }
let(:country) { "Argentina" }
let(:date_of_birth) { "01/01/2000" }
let(:gender) { "Other" }
let(:gender) { "other" }
let(:location) { "Paris" }
let(:phone_number) { "0123456789" }
let(:postal_code) { "75001" }
Expand Down
2 changes: 1 addition & 1 deletion spec/forms/decidim/registration_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module Decidim
let(:tos_agreement) { "1" }
let(:country) { "Argentina" }
let(:date_of_birth) { "01/01/2000" }
let(:gender) { "Other" }
let(:gender) { "other" }
let(:location) { "Paris" }
let(:phone_number) { "0123456789" }
let(:postal_code) { "75001" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
end
# rubocop:enable Style/TrailingCommaInHashLiteral

let(:gender) { "Other" }
let(:gender) { "other" }
let(:postal_code) { "00000" }
let(:date_of_birth) { "01/01/2000" }
let(:country) { "Argentina" }
Expand Down

0 comments on commit 7f3ebd7

Please sign in to comment.