filipefurtad0
6f694e2cab
Standardise spec block naming
...
The `feature` and `scenario` names are aliases only available in feature
specs and not needed. It's confusing to have different names and we can
easily move feature specs to system specs when using standard names.
2021-09-28 08:24:05 +10:00
Luis Ramos
2b8f0abe49
Try some mass auto-correct adding frozen-string-literal to all specs
2020-12-03 06:38:24 -08:00
Luis Ramos
eb4e732c1a
Fix rubocop issue Layout/EmptyLines
2020-10-30 16:50:37 +00:00
Gaetan Riou
9bc928fd48
update product variants feature test to use ulr helpers
2020-08-21 10:39:43 +10:00
Gaetan Riou
459708dbc8
add product filter parameters on the various product variants pages, so that the bulk import product page filters can be preserved
2020-08-21 10:29:07 +10:00
Luis Ramos
a2ebc614d9
Rename AuthenticationWorkflow to AuthenticationHelper
2020-07-27 15:32:35 +01:00
Luis Ramos
5738ec0542
Rename login_to_admin_and_visit to login_as_admin_and_visit
2020-07-27 15:32:34 +01:00
Luis Ramos
8b04e45ea5
Create login_to_admin_and_visit to avoid loading the admin dashboard unnecessarily
...
This commit removes 19 unnecessary page loads of the admin dashboard
2020-07-27 15:31:11 +01:00
Luis Ramos
f848a89a00
Rename update_attributes to update #rails4
2020-06-22 16:51:43 +01:00
luisramos0
eb85dccac1
Remove single letter variable names
2019-09-22 21:07:32 +01:00
luisramos0
f32454b404
Add feature spec to validate unit_description is editable for products with unit items, regression for #3649
2019-09-22 21:02:32 +01:00
luisramos0
d2f62f86a9
Run transpec in a few spec/features/admin specs
2019-05-28 16:59:51 +01:00
luisramos0
86b0d71c7e
Result of rubocop auto-correct and rebuilding rubocop_manual_todo
2019-05-28 12:57:29 +01:00
stveep
a959702905
Add display_name and display_as to admin edit variant page
2019-05-04 17:20:12 +01:00
luisramos0
90a14d426b
Add spec to cover editing on_hand and on_demand values in the variants edit page
2019-03-18 17:04:59 +00:00
Rob Harrington
8416af4995
Update variants_spec to work with Selenium
2019-01-16 16:21:30 +00:00
Grey Baker
a747561e77
Switch feature matcher style from to_not have to to have_no
2018-08-22 09:29:48 +01:00
Matt-Yorkley
b6955cb98c
Updated variant feature spec
2017-05-24 15:05:33 +10:00
Rob Harrington
ab7bfd10c5
Revert "Renaming options_text to unit_text so that we can use method from included VariantAndLineItemNaming module"
...
This reverts commit e86e08b72e939fee61eddd41d56081395666a877.
Conflicts:
lib/open_food_network/order_and_distributor_report.rb
spec/features/admin/variants_spec.rb
spec/lib/open_food_network/order_and_distributor_report_spec.rb
2015-10-28 13:08:50 +11:00
Rob Harrington
eba13a0dd7
Line items inherit units from variants upon creation
2015-10-28 13:07:31 +11:00
Rob Harrington
795830d94d
Renaming options_text to unit_text so that we can use method from included VariantAndLineItemNaming module
2015-10-28 13:07:31 +11:00
Rob Harrington
63353ebace
Don't try and delete the only variant, that will never work!
2015-04-17 16:49:14 +10:00
Rob Harrington
b9f19d5777
Fixing broken specs
2015-04-17 13:00:20 +10:00
Rohan Mitchell
7e23479f3a
Consistency
2014-10-16 12:08:12 +11:00
Rob H
51d3f65934
Remove spree's product tab for all but admin users
2014-06-23 22:01:19 +10:00
Rohan Mitchell
b970f54f53
Admin UI soft-deletes variants, not hard delete
2014-06-12 14:59:27 +10:00
Rohan Mitchell
8f0625daf8
Move product-related spec out of variants and into its proper home
2014-03-14 11:18:59 +11:00
Rohan Mitchell
24d97bd754
Fix spec race condition
2014-03-06 10:36:49 +11:00
Rohan Mitchell
07caf99488
Enterprise user can delete product properties
2014-03-05 16:52:06 +11:00
Rohan Mitchell
353d2a4d9c
Do not error when creating variant for product without non-unit option type
2014-02-27 11:28:07 +11:00
Rohan Mitchell
3f9f24157c
Do not show unit value or description when product does not have a unit-related option type
2014-02-19 12:07:53 +11:00
Rohan Mitchell
3024bbbeb5
Edit unit value and description of variant
2014-02-19 11:56:37 +11:00
Rohan Mitchell
7b80518621
On admin variant edit page, do not show option values for unit-related option types
2014-02-19 11:29:26 +11:00