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 unnecessary method closed? #7016

Merged
merged 1 commit into from
Feb 10, 2016
Merged

Remove unnecessary method closed? #7016

merged 1 commit into from
Feb 10, 2016

Conversation

siddharth28
Copy link
Contributor

state_machine provides this following boolean method.

Also did not remove specs so that the functioning of this method can be verified.

@@ -73,10 +73,6 @@ class Adjustment < Spree::Base
extend DisplayMoney
money_methods :amount

def closed?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@siddharth28 - Or if there is something I am missing, can you provide a description?

@siddharth28
Copy link
Contributor Author

@nishant-cyro added description.

@nishant-cyro
Copy link
Contributor

👍

1 similar comment
@priyank-gupta
Copy link
Contributor

👍

Mafi88 added a commit that referenced this pull request Feb 10, 2016
Remove unnecessary method closed?
@Mafi88 Mafi88 merged commit 5c87ae8 into spree:master Feb 10, 2016
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.

4 participants