Commit graph

4632 commits

Author SHA1 Message Date
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
Jimmy
4199530c77
[fix] Fix event_schedule#happening_now? 2021-04-13 11:43:27 -07:00
Jimmy
5e006ca64e
[fix] Remove unmerged code 2021-04-13 11:43:23 -07:00
Jimmy
16b1a969cb
[fix] Use let in schedules_controller_spec; revert changes in event_schedule#happening_now? 2021-04-13 11:43:11 -07:00
Jimmy
0e460e76ec
[feat] happening_now json endpoint returns event embedded in event_schedule 2021-04-13 11:43:11 -07:00
Jimmy
39d4960b69
[fix] Fix style; Fix start_hour and end_hour in test 2021-04-13 11:43:11 -07:00
Jimmy
85fe894876
[fix] Fix time displayed in happening_now.haml; Make event_schedule#happening_now? more efficient 2021-04-13 11:43:09 -07:00
Jimmy
2628952142
[fix] Fix event_schedule# happening_now?; Add tests for happening_now JSON endpoint 2021-04-13 11:42:17 -07:00
Jimmy
6523eff5ab
[feat] Use existing #happening_now method; respond to both html and json requests 2021-04-13 11:42:17 -07:00
Jimmy
7fe1c597ff
[fix] live_events return json; use the provided happening_now? function 2021-04-13 11:42:15 -07:00
Jimmy
25af736868
[feat] Endpoint implementation done 2021-04-13 11:41:58 -07:00
Jimmy
badc6a3163
[fix] Fix function name 2021-04-13 11:40:29 -07:00
Jimmy
879510bc8c
[feat] Endpoint implementation done 2021-04-13 11:40:29 -07:00