Luis Ramos
|
1af4bf6994
|
Replace usage of create_enterprise_user with :user factory
|
2020-07-27 14:44:23 +01:00 |
|
Luis Ramos
|
91fc0cd26f
|
Adapt specs to new Ar method update that replaces update_attributes
|
2020-06-22 17:39:20 +01:00 |
|
Luis Ramos
|
251c04f2d9
|
Make all tests in enterprises_controller_spec use api_post instead of spree_post
|
2020-06-02 20:17:07 +01:00 |
|
Luis Ramos
|
ff0c93a76b
|
Join module and describe declaration so that rspec picks up correct
controller under Api namespace and not the controller with the same name
in the base namespace
|
2020-06-02 20:15:25 +01:00 |
|
Luis Ramos
|
c68459f212
|
Make enterprises_controller_spec use api_post instead of spree_post
|
2020-06-02 20:06:52 +01:00 |
|
Luis Ramos
|
83381ad439
|
Relax array order verification
|
2020-05-12 15:46:23 +01:00 |
|
Luis Ramos
|
839b373b5c
|
Merge branch 'master' into 3-0-stable-Apr28
|
2020-04-28 13:40:19 +01:00 |
|
Matt-Yorkley
|
bc859cf9f7
|
Add api/shops_controller and refactor
|
2020-04-04 17:02:27 +02:00 |
|
Matt-Yorkley
|
af48cac140
|
Load closed shops in a separate request on /shops page
|
2020-04-04 14:06:10 +02:00 |
|
Luis Ramos
|
56c29ab472
|
Make EnterprisesController inherit from Api::BaseController to fix authentication and fix problem with saving params[:user_ids]
|
2020-03-07 18:14:36 +00:00 |
|
Luis Ramos
|
cfbec2accc
|
Fix controller specs after PR #4675 adapted code to rails 4 finders
|
2020-03-05 11:55:13 +00:00 |
|
Matt-Yorkley
|
53645517af
|
Update deprecated #find_by_* methods
|
2020-02-22 11:06:51 +00:00 |
|
Matt-Yorkley
|
c0a40c616b
|
Use devise's check_authorization and skip_authorization_check
|
2019-05-28 22:02:18 +01:00 |
|
luisramos0
|
6996353d05
|
Run transpec for spec/controllers
|
2019-05-10 01:20:40 +01:00 |
|
Matt-Yorkley
|
fc8b220b4c
|
Add specs for endpoint and serializers
|
2019-05-07 10:27:04 +01:00 |
|
Matt-Yorkley
|
39f0c5b5b0
|
Rename contact name field and revert contact name specs
|
2018-02-07 10:41:53 +11:00 |
|
Pau Perez
|
72889b5c36
|
Stub current_user instead of api key's user
|
2017-12-21 10:24:29 +11:00 |
|
Rob Harrington
|
82072c8970
|
Explicitly specifying 'type: :controller' for all controller specs
|
2017-11-10 08:47:12 +11:00 |
|
Rob Harrington
|
3b7700131c
|
Specify controller specs as such
|
2016-01-15 09:07:47 +11:00 |
|
Rohan Mitchell
|
8037811735
|
Only make new enterprises as hubs when current user *owns*, not just manages a hub.
|
2015-03-27 14:38:21 +11:00 |
|
Rohan Mitchell
|
0ed1eeffd6
|
When registering a new enterprise, if user is signed in, owns a hub and is not making a producer, the new enterprise becomes a hub
|
2015-03-27 14:05:58 +11:00 |
|
Rob Harrington
|
d3e72b5a2a
|
Adding images to registration process
|
2014-09-19 12:41:24 +10:00 |
|