universityofcalifornia / NeXt

UC NeXt is a Rails app for fostering IT collaboration amongst the various UC campuses.
https://ucnext.org
Other
11 stars 11 forks source link

EventsController assumes that an event exists #391

Closed jshslsky closed 8 years ago

jshslsky commented 8 years ago

In the before_action for edit, update and destroy, the code assumes that find_event will always return an event and raises a NoMethodError if an event cannot be found.

ctrance commented 8 years ago

@joshuaselsky and @shaun965 - I'm not sure how to test this one. Can you please help me with some instructions? Thanks!

jshslsky commented 8 years ago

I will test it out - I should have not given this the Ready for Testing label.