Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
RSpec and CanCan Authorization for Intentional Economics
@e.amount = 1.0
@e.customer = @p2
@membership.roles = ['individual']
account = @p2.account(@g)
account.balance = 0.0
account.credit_limit = 0.5!
@ability.should_not be_able_to(:create,@e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.