Commit graph

875 commits

Author SHA1 Message Date
CactusPuppy
d75ba79b3d
Fix up RSpec tests 2021-04-07 14:50:23 -07:00
CactusPuppy
5ff93061d9
Properly stub MailBluster calls in FactoryBot user creation 2021-04-07 14:50:23 -07:00
Ziyi
f98f35ec8d
Called create_lead in model, FactoryBot errors 2021-04-07 14:50:22 -07:00
CactusPuppy
09becbc3e0
Prepare to add edit_lead spec 2021-04-07 14:50:22 -07:00
CactusPuppy
bbad082c21
Match actually used URL in helper 2021-04-07 14:50:22 -07:00
CactusPuppy
59cc57ebf8
Use OSEM_NAME if available 2021-04-07 14:50:21 -07:00
CactusPuppy
0f6881414b
Fix up spec to properly pass under expectations 2021-04-07 14:50:21 -07:00
Ziyi
125c17838c
delete_lead WIP 2021-04-07 14:50:20 -07:00
CactusPuppy
fddd6ecd9f
Add spec for deleting leads 2021-04-07 14:50:20 -07:00
CactusPuppy
59908e60e4
Fix rubocop complaints 2021-04-07 14:50:19 -07:00
Ziyi
340865ddbd
Put user.variables in Mailbluster create test 2021-04-07 14:50:18 -07:00
CactusPuppy
f686f05710
Make return stub value more accurate 2021-04-07 14:50:18 -07:00
CactusPuppy
bad73c5d8b
Get WebMock matchers to work 2021-04-07 14:50:18 -07:00
Ziyi
209d848079
Test mailbluster request body 2021-04-07 14:50:17 -07:00
CactusPuppy
d99487b19c
Start setting up WebMock to stub responses 2021-04-07 14:50:17 -07:00
Ziyi
cc57973103
Fixed spec @user 2021-04-07 14:50:16 -07:00
Ziyi
5500fc8acf
Init create_lead, fix MailblusterHelper name 2021-04-07 14:50:16 -07:00
CactusPuppy
27baa935c1
Begin writing tests for Mailbluster API calls 2021-04-07 14:50:09 -07:00
CactusPuppy
8f48edf897
Prevent working test from causing failure, since Travis and Github Actions fail differently 2021-04-07 13:49:39 -07:00
CactusPuppy
09298ed38e
Properly pend outputs context 2021-04-07 13:21:37 -07:00
Jimmy
2e7bcf255c [style]Fix style in user_datatable_spec 2021-04-08 03:40:27 +08:00
Jimmy
acb48e9230 [fix]Revert github workflow; Change datatable tests to pending 2021-04-08 03:30:32 +08:00
Jimmy
c3167a3503 [feat] Happening now JSON endpoint contains rendered abstract of event; Add corresponding tests 2021-03-31 17:35:25 +08:00
Jimmy
e2f5b5e933 Merge master 2021-03-31 07:49:30 +08:00
Jimmy
0ede07dfaa [fix] Use let in schedules_controller_spec; revert changes in event_schedule#happening_now? 2021-03-31 07:45:26 +08: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
Jimmy
1ab580e7e6 Merge branch 'master' of https://github.com/CactusPuppy/snapcon into 176895124-happening-now-json-api-endpoint 2021-03-19 17:23:47 +08:00
Jimmy
3019a022c7 [fix] Fix style; Fix start_hour and end_hour in test 2021-03-19 17:22:08 +08: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
cab293e947 [fix] Fix event_schedule# happening_now?; Add tests for happening_now JSON endpoint 2021-03-18 18:53:55 +08:00
Jimmy
871457f65b [feat] Use existing #happening_now method; respond to both html and json requests 2021-03-17 21:02:35 +08: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
Jimmy
899d4c91f6 [test] Simplify mailbot.rb; Add corresponding tests 2021-03-10 23:09:52 -08:00
Jimmy
130bff9506 [fix] change pending to skip to satisfy CI 2021-03-10 16:36:09 -08:00
Jimmy
fb07a43566 [style] fix style 2021-03-10 16:20:01 -08:00
Jimmy
75baeb4f98 [fix] Fix ticket purchases tests 2021-03-10 16:17:34 -08:00