Skip to content
This repository
Browse code

Limit strong_parameters tests to ActiveModel 3.2

  • Loading branch information...
commit adcb70032ba22057872982ee84287e6303da747a 1 parent be8d08a
Chris Griego authored
4 spec/functional/active_attr/mass_assignment_security_spec.rb
@@ -4,11 +4,11 @@
4 4 module ActiveAttr
5 5 describe MassAssignmentSecurity, :mass_assignment do
6 6 context "integrating with strong_parameters", :active_model_version => "~> 3.2.0" do
7   - require "strong_parameters"
8   -
9 7 subject { model_class }
10 8
11 9 before do
  10 + require "strong_parameters"
  11 +
12 12 model_class.class_eval do
13 13 include ActiveAttr::MassAssignmentSecurity
14 14 include ActiveModel::ForbiddenAttributesProtection

0 comments on commit adcb700

Please sign in to comment.
Something went wrong with that request. Please try again.