Jimmy
6f9a6e2275
[fix]Store current time to a variable to make sure timestamps are the same
2021-05-01 17:59:18 -07:00
Jimmy
648f3bacb5
[test]Add test for ConferenceHelper#get_happening_next_events_schedules
2021-05-01 17:59:09 -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
gotens1211
ec1adbada8
Removed duplicate methods date_range_string and date_string.
...
Added tests for date_string function
corrections in the test
2017-03-01 15:39:10 +05:30
charliequinn
ef9ba3b981
Added specs for ApplicationHelper.show_time
...
- refactor of code to use divmod and handle decimal number parameter
- return '0 h 0 min' if length blank
2016-08-17 13:55:29 +01:00
charliequinn
89d45f62a0
Bug fix nil parameter ApplicationHelper.markdown
...
Added specs for nil value parameter and header markdown
2016-08-16 00:33:32 +01:00
Stella Rouzi
59eeb7edbd
Enable blind voting
2016-07-22 12:21:54 +03:00
Henne Vogelsang
73ce49de25
Use dynamic fake data in the spec
2016-05-02 16:06:32 +02:00
Henne Vogelsang
8fc57e34c9
Adapt the spec
2016-04-27 17:55:24 +02:00
Stella Rouzi
01ec43e53a
Registration for Events
2016-04-26 16:11:40 +03:00
Aditya Prakash
d662ebd252
Remove sponsorship level from view and test
2016-04-21 21:22:14 +05:30
Aditya Prakash
7e04a267cb
Fix get_roles method of User model
...
Previous implementation was associating resources with all
the roles regardless of user role in the resource. ie:
if user is cfp member of conf1, the method was returning:
{ organizer => conf1,
cfp => conf1,
Info Desk => conf1,
Volunteers Coordinator => conf1
}
2016-04-17 14:11:09 +05:30