Logo
Explore Help
Sign In
IntenseWebs/discourse
3
0
Fork 0
You've already forked discourse
mirror of https://github.com/discourse/discourse.git synced 2025-02-25 18:55:32 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
8a5779841969c329166369ca7e598a5bdc1ed170
discourse/spec/fabricators/user_field_fabricator.rb

10 lines
201 B
Ruby
Raw Normal View History

DEV: use #frozen_string_literal: true on all spec This change both speeds up specs (less strings to allocate) and helps catch cases where methods in Discourse are mutating inputs. Overall we will be migrating everything to use #frozen_string_literal: true it will take a while, but this is the first and safest move in this direction
2019-04-30 10:27:42 +10:00
# frozen_string_literal: true
FEATURE: Admin interface for adding custom fields for users
2014-09-25 11:32:08 -04:00
Fabricator(:user_field) do
Add rubocop to our build. (#5004)
2017-07-28 10:20:09 +09:00
name { sequence(:name) { |i| "field_#{i}" } }
Adds support for a description to user fields.
2014-10-02 15:56:28 -04:00
description "user field description"
DEV: Apply syntax_tree formatting to `spec/*`
2023-01-09 11:18:21 +00:00
field_type "text"
FEATURE: Show user fields when the user is signing up
2014-09-26 14:48:34 -04:00
editable true
FEATURE: Support for a `required` setting on user fields.
2014-10-08 14:38:18 -04:00
required true
FEATURE: Admin interface for adding custom fields for users
2014-09-25 11:32:08 -04:00
end
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 302ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API