Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace find(event) with find(event.id) in spec #439

Merged
merged 2 commits into from
Jul 4, 2015

Conversation

jmcduffie32
Copy link
Contributor

Fix the deprecation warning thrown when running parser_ical_spec.rb by
passing event.id to find rather than passing event itself to
find.

Fix the deprecation warning thrown when running parser_ical_spec.rb by
passing event.id to find rather than passing event itself to
find.
@botandrose
Copy link
Contributor

Would event.reload better describe the intent here?

Replace find(event) with event.reload since the intent is to check
if the times were saved to the database properly.
@jmcduffie32
Copy link
Contributor Author

I agree. It does seem to make more sense to use event.reload here.

reidab added a commit that referenced this pull request Jul 4, 2015
Replace find(event) with find(event.id) in spec
@reidab reidab merged commit a781f5f into calagator:master Jul 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants