Commit graph

4574 commits

Author SHA1 Message Date
CactusPuppy
f0296e2150
Properly fire update_email hook after commit which changes user email 2021-04-13 11:44:31 -07:00
CactusPuppy
9f19f5d913
Move Mailbluster business logic to services/ instead of helpers/ 2021-04-13 11:44:31 -07:00
CactusPuppy
b9ff3a2530
Fix Rubocop linting issues 2021-04-13 11:44:30 -07:00
CactusPuppy
e0b62469b2
Properly rename job file 2021-04-13 11:44:30 -07:00
CactusPuppy
a2ad61b19e
Fix typo in Mailbluster delete lead job 2021-04-13 11:44:30 -07:00
Ziyi
f4a324cd79
Finished spec, added FIXME for caveat in email change 2021-04-13 11:44:29 -07:00
Ziyi
7adf6730da
Call mailbluster helpers when registering / cancelling reg to conference 2021-04-13 11:44:29 -07:00
Ziyi
0bb025a954
CAUTION: deleted user model spec for mailbluster 2021-04-13 11:44:29 -07:00
CactusPuppy
a2bd73ed16
Use better and clearer shorthand for callbacks 2021-04-13 11:44:28 -07:00
CactusPuppy
d938e3d330
Fix some RSpec issues 2021-04-13 11:44:28 -07:00
CactusPuppy
6373abf16a
Use Active Jobs to spin Mailbluster requests off into a separate thread 2021-04-13 11:44:28 -07:00
CactusPuppy
671d010e68
Add Active Job definitions for executing Mailbluster requests 2021-04-13 11:44:27 -07:00
CactusPuppy
9ae19c8db6
Fix Rubocop linting 2021-04-13 11:44:27 -07:00
Ziyi
fbb16fb91b
Spec for delete_lead WIP 2021-04-13 11:44:27 -07:00
CactusPuppy
5b193919dc
Fix Rubocop linting issues 2021-04-13 11:44:26 -07:00
CactusPuppy
7bc0842d26
Fix up RSpec tests 2021-04-13 11:44:26 -07:00
CactusPuppy
e99d9ac054
Use HTTParty to make connection logic much simpler 2021-04-13 11:44:26 -07:00
CactusPuppy
a4eb07a4a8
Properly stub MailBluster calls in FactoryBot user creation 2021-04-13 11:44:25 -07:00
Ziyi
10e14400e2
Called create_lead in model, FactoryBot errors 2021-04-13 11:44:25 -07:00
CactusPuppy
246a67f695
Prepare to add edit_lead spec 2021-04-13 11:44:25 -07:00
CactusPuppy
479fd4e898
Match actually used URL in helper 2021-04-13 11:44:24 -07:00
CactusPuppy
0c055a1297
Use OSEM_NAME if available 2021-04-13 11:44:24 -07:00
CactusPuppy
af06589230
Ensure Mailbluster helper methods actually correctly cause changes in the end service 2021-04-13 11:44:23 -07:00
CactusPuppy
c78b151390
Fix up spec to properly pass under expectations 2021-04-13 11:44:23 -07:00
Ziyi
d4f823e7f4
delete_lead WIP 2021-04-13 11:44:23 -07:00
CactusPuppy
df9187a344
Add spec for deleting leads 2021-04-13 11:44:22 -07:00
CactusPuppy
be334da9a3
Fix rubocop complaints 2021-04-13 11:44:22 -07:00
CactusPuppy
633d62d729
Refactor Mailbluster API URL into a constant 2021-04-13 11:44:22 -07:00
Ziyi
1f3832c883
Put user.variables in Mailbluster create test 2021-04-13 11:44:21 -07:00
CactusPuppy
4db10c1a8f
Make return stub value more accurate 2021-04-13 11:44:21 -07:00
CactusPuppy
40fa873a9b
Get WebMock matchers to work 2021-04-13 11:44:21 -07:00
Ziyi
e026159e03
Test mailbluster request body 2021-04-13 11:44:20 -07:00
CactusPuppy
7ed574c20e
Start setting up WebMock to stub responses 2021-04-13 11:44:20 -07:00
Ziyi
af4ec41f87
Fixed spec @user 2021-04-13 11:44:20 -07:00
Ziyi
7f60f8aace
Init create_lead, fix MailblusterHelper name 2021-04-13 11:44:19 -07:00
CactusPuppy
5739c05a94
Begin writing tests for Mailbluster API calls 2021-04-13 11:44:19 -07:00
CactusPuppy
5a1bbc2769
Prevent working test from causing failure, since Travis and Github Actions fail differently 2021-04-13 11:44:19 -07:00
CactusPuppy
c86ee453b2
Properly pend outputs context 2021-04-13 11:44:18 -07:00
Jimmy
ea7f1a7edb
[style]Fix style in user_datatable_spec 2021-04-13 11:44:18 -07:00
Jimmy
ffa088ee07
[fix]Revert github workflow; Change datatable tests to pending 2021-04-13 11:44:18 -07:00
Jimmy
5498d79ff9
fix syntax 2021-04-13 11:44:17 -07:00
Jimmy
0e41a733c3
try again 2021-04-13 11:44:17 -07:00
Jimmy
e0a1122552
try ignoring datatables 2021-04-13 11:44:17 -07:00
Jimmy
20da873c09
try running rspec instead of rake 2021-04-13 11:44:16 -07:00
Jimmy
ddda78d96c
ignore user datatable 2021-04-13 11:44:16 -07:00
Jimmy
32524a3f52
[style]Fix order of gem 2021-04-13 11:44:16 -07:00
Jimmy
a287c0415a
[fix]Fix ruby version and update mimemagic 2021-04-13 11:44:14 -07:00
Jimmy
c6e1082213
temp 2021-04-13 11:43:28 -07:00
Jimmy
d88609b8ae
[feat] Happening now JSON endpoint contains rendered abstract of event; Add corresponding tests 2021-04-13 11:43:28 -07:00
Jimmy
566b057e3c
[refactor] Change to_json to as_json 2021-04-13 11:43:28 -07:00