james2m / canard

Makes role based authorization in Rails really simple. Wraps CanCan and RoleModel up with a smattering of syntactic sugar, some generators and scopes.
MIT License
125 stars 28 forks source link

test_unit[not found] #10

Open davidtingsu opened 11 years ago

davidtingsu commented 11 years ago

I'm using the canard gem to set up user roles and am running into a test_unit[not found] error. I tried adding test-unit to the Gemfile but it still fails. Disclaimer: I'm still relatively novice at Rails.

 $ rails g canard:ability user can:create:post
    conflict  app/abilities/users.rb
Overwrite /home/ubuntu/project/app/abilities/users.rb? (enter "h" for help) [Ynaqdh] Y
       force  app/abilities/users.rb
       error  test_unit [not found]
martin-denizet commented 10 years ago

I got the same error, didn't figure out a fix yet.