Code Conventions
David Cook edited this page 2024-03-04 12:40:15 +11:00
Clone

Wiki Page Revisions

19 Commits

Author SHA1 Message Date
David Cook
6f404e77b6 Remove outdated Capybara `have_no` recommendation (now enforced by rubocop in https://github.com/openfoodfoundation/openfoodnetwork/pull/12224) 2024-03-04 12:40:15 +11:00
David Cook
66e518cb41 Remove outdated viewport-units restriction (it's been supported for over 10 years now) 2024-03-04 12:29:13 +11:00
David Cook
6a3e2c3dd2 Add note about query services (https://github.com/openfoodfoundation/openfoodnetwork/pull/12203) 2024-03-04 10:08:34 +11:00
David Cook
754295b4b4 Remove redundant note about public_send (It's already verified by rubocop) 2024-03-04 09:38:04 +11:00
David Cook
2c3352e6a7 Add introduction 2024-03-04 09:37:30 +11:00
Maikel
ed95d5a6e8 Explain I18n.t in spec convention because it has been divisive 2023-02-01 13:51:11 +11:00
Maikel
48cc5749b0 Invert convention on using I18n in specs 2023-02-01 13:28:23 +11:00
Luis Ramos
eb768e54c1 Updated Code Conventions (markdown) 2019-09-19 15:45:14 +01:00
Kristina Lim
177cb8589f Move Test > Gotchas section to new page /Automated-Testing-Gotchas (HEAD 5b34302) 2019-02-07 19:22:25 +08:00
Kristina Lim
d6952ee7af Add section for designing tests to pass regardless of time of execution 2019-02-07 19:00:47 +08:00
Kristina Lim
fce451d4e6 Add section for testing gotcha related to multiple consecutive spaces in HTML 2019-02-07 18:48:11 +08:00
Luis Ramos
a8f2966b0c Updated Code Conventions (markdown) 2018-11-26 14:37:35 +00:00
Luis Ramos
8951c5d64a Updated Code Conventions (markdown) 2018-09-21 10:34:46 +01:00
Luis Ramos
580bcb214b Updated Code Conventions (markdown) 2018-09-17 18:20:53 +01:00
Kristina Lim
b82e719c84 Add section about using escape_javascript when inserting Ruby strings into JS or Angular expressions 2018-09-14 01:52:41 +08:00
Pau Pérez Fabregat
c235ba16b0 Updated Code Conventions (markdown) 2018-08-30 18:46:06 +02:00
Luis Ramos
df42510233 Updated Code Conventions (markdown) 2018-08-23 15:14:41 +01:00
Luis Ramos
d75c05f8c9 Updated Code Conventions (markdown) 2018-08-19 11:03:07 +01:00
Luis Ramos
495ce364ae Created Code Conventions (markdown) 2018-08-19 11:01:58 +01:00