debian-mirror-gitlab/spec/helpers/registrations_helper_spec.rb
2021-09-30 23:02:18 +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