0
0
Fork 0

Remove usage of random sample values in specs (#24869)

This commit is contained in:
Matt Jankowski 2023-05-15 14:20:13 -04:00 committed by GitHub
parent b84bc2de5d
commit 604e1c2b11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -97,7 +97,7 @@ RSpec.describe Auth::RegistrationsController do
end
describe 'POST #create' do
let(:accept_language) { Rails.application.config.i18n.available_locales.sample.to_s }
let(:accept_language) { 'de' }
before do
session[:registration_form_time] = 5.seconds.ago