Commit graph

879 commits

Author SHA1 Message Date
CactusPuppy
9f19f5d913
Move Mailbluster business logic to services/ instead of helpers/ 2021-04-13 11:44:31 -07:00
Ziyi
0bb025a954
CAUTION: deleted user model spec for mailbluster 2021-04-13 11:44:29 -07:00
CactusPuppy
d938e3d330
Fix some RSpec issues 2021-04-13 11:44:28 -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
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
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
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
d88609b8ae
[feat] Happening now JSON endpoint contains rendered abstract of event; Add corresponding tests 2021-04-13 11:43:28 -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
39d4960b69
[fix] Fix style; Fix start_hour and end_hour in test 2021-04-13 11:43:11 -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
Michael Ball
82e45fff0a fix typo in spec 2021-03-24 02:28:43 -07:00
Michael Ball
e810fd442f Cleanup the submission form, fix reset button 2021-03-23 23:06:34 -07:00
Michael Ball
76df9c9782 Fix typo in spec 2021-03-23 12:33:41 -07:00
Michael Ball
2899da9823 Update spec with submission instructions. 2021-03-22 03:21:11 -07:00
CactusPuppy
9167f2f2e6
Unpend test because I guess it works on Travis 2021-03-18 23:21:51 -07:00
CactusPuppy
e51dcc6d05
Pend test so that error is exposed instead of skipping 2021-03-18 23:01:54 -07:00
CactusPuppy
652381a0b8
Update annotate_models comments 2021-03-18 20:36:39 -07:00
CactusPuppy
ee8de1ce2d
Temp pend failing test, as it does not reflect local verification 2021-03-18 20:32:58 -07:00
CactusPuppy
039a931c90
Ensure coverage.xml is generated on Travis 2021-03-18 20:32:57 -07:00
Jimmy
fcb3dc96c0 [style] Delete comments 2021-03-12 21:16:21 -08:00
Jimmy
2bcd7d39b3 [test] Add unit test for conference_helper#conference_color 2021-03-12 07:49:55 -08:00
Jimmy
72dd36993b [style] Remove unused variable 2021-03-12 00:20:30 -08:00
Jimmy
fdb08b0c9a [refactor] Move Mailbot#logo_url and #conference_color to ConferenceHelper 2021-03-12 00:14:29 -08:00
Jimmy
fc0494c1f3 Merge branch 'master' of https://github.com/CactusPuppy/snapcon into 177195121-improve-email-templates 2021-03-11 23:23:24 -08:00
Jimmy
394dc0506f temp 2021-03-11 23:15:07 -08:00
Jimmy
4856bc718d [fix] Restore a mistakenly deleted test 2021-03-11 22:00:15 -08:00
Jimmy
11d4255c67 merge 2021-03-11 21:28:17 -08:00