osem-fcy/spec
AEtherC0r3 fa56ff7f6d Add helper function for speaker selection
The line '@users = User.all.order(:name)' is replicated a lot of times
in EventsController and ProposalsController.
So, this commit removes it and adds a helper function
'speaker_selector_input' that generates the field where the @users
variable was used.
Also, it makes the query more specific.

Fix #1455

Other changes:
* Include the username in the drop down menu
* Add .active scope to User and corresponding tests
* Add :disabled trait to User factory
2017-05-20 18:27:07 +03:00
..
controllers Test ConferenceRegistration#new behaviour 2017-05-13 17:47:22 +03:00
factories Add helper function for speaker selection 2017-05-20 18:27:07 +03:00
features Fixed paper trail inconsistent results for numeric values 2017-05-11 14:01:52 +03:00
helpers Added validation in EventSchedule model and test in event_schedule_spec 2017-04-22 01:20:05 +05:30
mailers implement manual event management and support for multiple speakers per event 2017-04-13 17:15:21 +03:00
models Add helper function for speaker selection 2017-05-20 18:27:07 +03:00
serializers Added validation in EventSchedule model and test in event_schedule_spec 2017-04-22 01:20:05 +05:30
support Add tests for openid signup with every provider 2017-05-06 10:37:58 +03:00
spec_helper.rb Improvements in the DatabaseCleaner 2017-01-11 10:03:27 +01:00