Ana
71dab6b79c
SchedulesController introduced
...
The actions #schedule and #events were moved from conference controller to the new controller
2016-08-11 15:11:27 +02:00
Ana
3897ec79ca
Repeated sentence moved to a function
...
program.selected_schedule.event_schedules.order(start_time: :asc) was repeated several times and it has been moved to conference#selected_event_schedules
2016-08-11 15:11:27 +02:00
Ana
beb17165a2
Introduce an association for the selected_schedule
...
Association in Program fot the selected_schedule
2016-08-11 15:11:27 +02:00
Ana
0b26ed5c35
EventSchedule validations
...
event, schedule, room and start_time are mandatory in EventSchedule.
2016-08-11 15:11:27 +02:00
Ana
354e15a76d
Public schedule adapted to the new relations
...
Public schedule and all events adapted to the new relations and models to allow having several schedules in the admin shcedule.
2016-08-11 15:11:27 +02:00
Arun Kumar
0675572e05
Modify conference registration to a singular resource
2016-07-05 01:15:32 +05:30
Stella Rouzi
15076b11f1
XML export fix tests. Add not nil room for scheduled events.
2016-06-20 21:05:08 +03:00
Stella Rouzi
8a595e6284
add test
2016-06-15 20:54:51 +03:00
Stella Rouzi
528243c8b9
Allow max_attendees to be nil
2016-05-15 14:01:36 +03:00
Henne Vogelsang
73ce49de25
Use dynamic fake data in the spec
2016-05-02 16:06:32 +02:00
Stella Rouzi
01ec43e53a
Registration for Events
2016-04-26 16:11:40 +03:00
Aditya Prakash
35935fb726
Add devise confirmation controller test
2016-04-07 17:34:23 +05:30
Nishanth Vijayan
5587f1dc14
Add tests for api/v1/conferences_controller
2016-04-03 16:02:34 +05:30
Henne Vogelsang
c4e782a90c
Merge pull request #931 from nishanthvijayan/fix-api-events-speakers
...
Fix api controllers events and speakers
2016-04-01 15:05:26 +02:00
Nishanth Vijayan
f8822b8745
Add tests for api/v1/events_controller and api/v1/speakers_controller
2016-03-31 17:22:12 +05:30
Aditya Prakash
f4678e5415
Add proposal controller tests
2016-03-30 22:26:52 +05:30
Aditya Prakash
19157ac81d
Add test for conference registration controller show and destroy action
...
After failed delete, user should be redirected to registration show and not
root.
2016-03-23 11:42:40 +05:30
Henne Vogelsang
70d27b6a26
Merge pull request #898 from sonalkr132/edit-update-registration-test
...
Add test for conference registration controller edit and update action
2016-03-22 18:25:31 +01:00
Aditya Prakash
6a6824cef1
Add sponsership levels controller tests
2016-03-22 18:17:14 +05:30
Aditya Prakash
b41d2bd5c1
Add test for conference registration controller edit and update action
2016-03-22 17:13:15 +05:30
Nishanth Vijayan
1c1e56ed46
Change update/save failures to use flash type :error instead of :alert
2016-03-16 11:20:56 +05:30
Christian Bruckmayer
52ec94588f
Merge pull request #826 from differentreality/users_show_controller_test
...
Add controller test for users#show
2016-03-15 15:21:00 -06:00
Nishanth Vijayan
3da04c0f7c
Update active_model_serializers.Fix conference serializer and api tests
...
The controllers are not using the serializers, because of a bug in active_model_serializer.
Hence the update.API tests are fixed to work with the new API response structure.
Fixes bugs in conference serializer.
2016-03-15 12:38:13 +05:30
Nishanth Vijayan
864245fec2
Add specs for api/v1/rooms_controller & api/v1/tracks_controller
...
and cleanup api/v1/tracks and api/v1/rooms controllers
2016-03-15 00:57:15 +05:30
Aditya Prakash
d2b392e119
Remove assumption from test that first user is admin
2016-03-14 17:29:35 +05:30
Stella Rouzi
21d9e126f2
Add controller test for users#show
2016-03-11 23:13:52 +02:00
Stella Rouzi
782a1f071f
Merge pull request #801 from sonalkr132/targets_test
...
Model and controller tests for Target
2016-03-09 12:13:53 +02:00
Stella Rouzi
1990d3a1ad
Merge pull request #837 from sonalkr132/room-ticket-tests
...
Tests for room model and controller
2016-03-09 12:04:12 +02:00
Aditya Prakash
7b3208b43b
Tests for room controller
2016-03-07 19:19:48 +05:30
Aditya Prakash
c219ffc9a3
Tests for Admin::Targets controller
...
Authorization in index action is not needed.
Fix failed delete flash error message.
2016-03-06 10:46:04 +05:30
Stella
ccd7ecbb90
Roles into their own controller. Rework interface. Add flash messages to ajax calls. Add description to roles. Possible to edit roles in use.
2016-03-01 17:10:45 +02:00
Stella Rouzi
f567187d45
Add validations for registration_period
2016-02-23 12:57:45 +02:00
Stella Rouzi
444356fbc7
Introduce Program to include cfp/rooms/tracks/events/event_types/difficulty_levels
2016-02-06 17:42:51 +01:00
Stella Rouzi
355ecc0ac6
Introduce strong parameters
2015-12-23 11:36:50 +02:00
raluka
1fb1071feb
moved comment instance into before block
2015-09-17 12:13:22 +02:00
raluka
37339dccc1
refactored comments_controller tests; fixed access to Administration link into user_menu view
2015-09-17 12:13:22 +02:00
raluka
a9a43d726f
WIP created tests for comments_controller.rb
2015-09-17 12:13:22 +02:00
raluka
21c10166ec
added test file for comments_controller WIP
2015-09-17 12:13:22 +02:00
Stella
80fbc144ac
remove user deletion until further notice
2015-01-18 22:01:05 +02:00
Stella
6e026746a9
validate cfp start_date before end_date and end_date before conference.end_date
2014-11-29 20:00:26 +02:00
Henne Vogelsang
28063129c7
Implement consistent admin interface
...
* Consistent route/model/controller/view layout
* Get rid of unused photos, speakers, dietchoices, social_events controllers
* Drop unused :public from Rooms and :description from CallForPapers
2014-11-25 10:47:18 +01:00
Henne Vogelsang
e65ca7fb58
Get rid of the home controller
2014-11-14 17:24:24 +01:00
Stella Rouzi
0d51220a8c
load seeds before tests
2014-11-12 16:22:53 +02:00
Stella
3be200abcc
move subscribe to its own controller, add authorization, test subscribe/unsubscribe
2014-11-12 14:00:17 +02:00
Stella
aa0005ef6e
not using real emails/domains in tests
2014-11-12 13:20:51 +02:00
Stella Rouzi
da061b3902
exclude config/ from rubocop styling, more style fixes
2014-09-02 21:45:07 +03:00
Chrisbr
fedb0753bf
Extracted Splashpage from Conference
...
#418
2014-08-31 22:59:42 +02:00
Chrisbr
ed55e2bf3a
Introduces new RegistrationPeriod Object for Conference
...
#416
2014-08-18 14:33:02 +02:00
Stella Rouzi
88f613ef8c
Add controller tests for roles
2014-08-15 11:37:11 +03:00
Stella Rouzi
f7ef401be7
style fixes
2014-08-13 22:53:14 +03:00