debian-mirror-gitlab/spec/helpers/registrations_helper_spec.rb
2023-05-27 22:25:52 +05:30

11 lines
346 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe RegistrationsHelper do
describe '#signup_username_data_attributes' do
it 'has expected attributes' do
expect(helper.signup_username_data_attributes.keys).to include(:min_length, :min_length_message, :max_length, :max_length_message, :qa_selector)
end
end
end