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

Remove alias method chain and deprecated assertions #7

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

jkraemer
Copy link

Redmine 4 will upgrade to Rails 5, where alias_method_chain is not available anymore. This PR (based on current master) replaces it with prepend / a call to super. Also I replaced deprecated assert_tag assertions with assert_select.

- alias_method_chain is deprecated and won't be available with Redmine 4
  anymore.
- alias_method_chain is deprecated
- also extracted a method to separate hooking into the Changeset lifecycle from
  what we actually want to do so it is more clear whats going on
@coveralls
Copy link

coveralls commented Mar 12, 2018

Coverage Status

Coverage decreased (-0.06%) to 87.686% when pulling ac73eb6 on planio-gmbh:remove-alias-method-chain into 61f3a34 on haru:master.

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.

2 participants