Commit graph

59 commits

Author SHA1 Message Date
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
7bc0842d26
Fix up RSpec tests 2021-04-13 11:44:26 -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
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
CactusPuppy
54a5f84d8b
Prefer single-quoted strings 2021-03-01 23:01:28 -08:00
CactusPuppy
30ec69282d
Fix '==' instead of assignment operator 2021-03-01 23:00:04 -08:00
CactusPuppy
c8e6dc86d7
Increase test coverage to stop codecov from complaining 2021-03-01 22:56:45 -08:00
CactusPuppy
50675c8dbe
Fix a minor typo with spec description 2021-02-24 20:55:59 -08:00
CactusPuppy
38c10d326d
Fix spec incorrectly testing for conference org names 2021-02-24 20:55:30 -08:00
CactusPuppy
82a08ffa74
Fix typo 2021-02-24 20:28:13 -08:00
Michael Ball
c170221605 More image/nav tests 2021-02-24 20:10:05 -08:00
Michael Ball
005aebd936 Minor app helper tests 2021-02-24 20:07:12 -08:00
Michael Ball
2b2745ade9 run rubocp --fix 2021-02-24 09:47:56 -08:00
Michael Ball
1ca72dcf74 Attempt to fixup logo specs 2021-02-24 09:34:04 -08:00
Michael Ball
e269e45a45 Fix format spec with new markdown options 2020-01-27 22:56:12 -08:00
Michael Ball
d8ce3c2982 Try to update spec file with image in navbar 2020-01-27 22:54:03 -08:00
James Mason
1e9765c163 DRY up bootstrapSwitches with default values 2018-06-26 07:10:08 -07:00
James Mason
6d31dfeef4 Add frozen_string_literal magic comment
re: https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/FrozenStringLiteralComment
2018-05-09 06:54:26 -07:00
James Mason
ad19a6d753 Use helpers for repeated event dropdown links 2018-03-14 18:00:37 -07:00
James Mason
9e10678542 Clean up rating partials 2018-03-14 18:00:37 -07:00
James Mason
fa55224163 Break up the one-query-of-doom
The single query was producing a tremendously large ActiveRecord allocation.

While this isn't nearly as cool as one query, it's still a significant
reduction in SQL trips, and now has the bonus of only loading what is
actually going to be displayed.
2017-12-22 10:48:55 -08:00
James Mason
27f6d8ad73 Let's get serious about linting, folks. 2017-12-22 10:48:55 -08:00
James Mason
b2e1eb5fa9 Generalize get_logo helper for all classes 2017-12-22 10:48:55 -08:00
James Mason
574ac63a05 Fix a flaky test. 2017-11-07 17:59:11 -08:00
James Mason
1b8f864feb
Use organization name for title link if available, but link to / 2017-11-07 13:51:10 -08:00
nasia
6cb11ff2f3 Add Style/WordArray at rubocop.yml #1463 2017-06-06 13:53:05 +03:00
Agrim Mittal
255744268b shift relevant functions to versions_helper 2017-05-26 15:47:01 +03:00
hitman
8320f78d0b add test for new helpers 2017-05-26 15:47:01 +03:00
hitman
d9925f00e9 add volunteers helper 2017-05-26 15:47:01 +03:00
Siddhant Bajaj
95d459f058 Added validation in EventSchedule model and test in event_schedule_spec
EventSchedule start time should be in hours range of the conference.Therefore it adds validation on start_time attribute of event schedule model. It also adds test for the same.
2017-04-22 01:20:05 +05:30
Sunny
03fa299058 enable style/dotposition rubocop cop 2017-04-06 23:19:58 -04:00
shlok007
4dd10d09ad display concurrent events on event#show 2017-03-07 20:56:38 +05:30