osem-fcy/spec/models
Siddhant Bajaj 7ce816e146 Fixed DeleteEventSchedules issue
Issues with DeleteEventSchedules method in conference controller:
1.It deletes EventSchedules of all the conferences that are not in the
hours range. Instead it should delete EventSchedules of those events
only that belong to that particular conference only.
2.If we set invalid start or end hour attribute of a conference then
also EventSchedules gets deleted even though conference is not
successfully updated.
Fixed both the issues and added test for the same.
2017-04-25 18:00:24 +05:30
..
ability_spec.rb Add permission to access admin/shedule by cfp#1432 2017-04-13 20:45:19 +03:00
campaign_spec.rb Fix model specs to work with MySQL 2016-08-18 18:32:41 +02:00
cfp_spec.rb rebase against email settings changes 2016-02-06 17:42:51 +01:00
comment_spec.rb Make Comment find_since_last_login scope robust against nil value 2016-03-10 15:04:14 +01:00
commercial_spec.rb Implement simplified commercials workflow 2016-01-21 19:41:12 +01:00
conference_spec.rb Fixed DeleteEventSchedules issue 2017-04-25 18:00:24 +05:30
email_settings_spec.rb implement manual event management and support for multiple speakers per event 2017-04-13 17:15:21 +03:00
event_schedule_spec.rb Added validation in EventSchedule model and test in event_schedule_spec 2017-04-22 01:20:05 +05:30
event_spec.rb implement manual event management and support for multiple speakers per event 2017-04-13 17:15:21 +03:00
event_type_spec.rb Hexadecimal color changed to capital letters 2016-07-11 13:46:02 +02:00
payment_spec.rb refactor tests 2016-08-15 10:59:36 +05:30
program_spec.rb Add schedule interval as attribute of a program 2017-04-01 21:39:20 +03:00
registration_period_spec.rb Add validations for registration_period 2016-02-23 12:57:45 +02:00
registration_spec.rb registration#delete: retain ticket purchases 2016-09-26 20:57:11 +05:30
resource_spec.rb ability to track resources used in conference 2017-02-07 14:58:45 +05:30
role_spec.rb Add model test to verify role is not deleted on removing all of its users 2016-03-28 19:51:20 +05:30
room_spec.rb Delete EventSchedules when a Room is deleted 2016-08-18 16:19:15 +02:00
schedule_spec.rb Do not use JS to initialize the schedule 2016-08-11 15:11:27 +02:00
sponsor_spec.rb Adds sponsor model 2014-06-12 23:34:27 +05:30
sponsorship_level_spec.rb Fix model specs to work with MySQL 2016-08-18 18:32:41 +02:00
target_spec.rb Tests for target model 2016-03-06 10:46:03 +05:30
ticket_purchase_spec.rb repair code reviews 2017-01-29 10:50:43 +05:30
ticket_spec.rb Merge pull request #1118 from rishabhs95/free-ticket 2017-01-31 14:54:18 +01:00
user_spec.rb Improve test coverage for User model 2017-03-17 11:26:47 +01:00