Auto-generated rspec tests for engines are failing (2.0.3) #1552

Closed
davidkovaccs opened this Issue Apr 3, 2012 · 2 comments

2 participants

@davidkovaccs

the spec/requests/refinery/ENGINE_NAME/admin/ENGINE_NAME_spec.rb fails with: ActiveModel::MassAssignmentSecurity::Error:
Can't mass-assign protected attributes: position, title

I've added attr_acessible to these attributes but I'm not sure that's the proper way.

@ugisozols ugisozols added a commit that referenced this issue Apr 3, 2012
@ugisozols ugisozols Multi-kill! #1552, #1553, #1554.
* Update generated engine Gemfile
* Remove --format Fuubar from Guardfile
* Fix failing specs for newly generated engine
5ef8e0a
@ugisozols ugisozols added a commit that referenced this issue Apr 4, 2012
@ugisozols ugisozols Multi-kill! #1552, #1553, #1554.
* Update generated engine Gemfile
* Remove --format Fuubar from Guardfile
* Fix failing specs for newly generated engine
7db31eb
@ugisozols
Refinery member

Fixed by 7db31eb.

@ugisozols ugisozols closed this Apr 4, 2012
@davidkovaccs

thanks for the fast fixes!:)

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