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

Already on GitHub? Sign in to your account

should allow_mass_assignment_of(:field).as(:role) should be useful. #138

Closed
envygeeks opened this Issue Aug 8, 2012 · 0 comments

Comments

Projects
None yet
2 participants

This is a feature request based on how I think behaviour should be:

Test: it { should allow_mass_assignment_of(:field).as(:role) }
Should show up as: should allow mass assignment of uid as :admin
Instead of: should allow mass assignment of uid

This way it doesn't look like duplicate tests but duplicate tests with different scenarios. Thanks.

@drapergeek drapergeek closed this Oct 12, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment