spec/synvert/snippets/rails/strong_parameters_spec.rb in synvert-0.0.6 vs spec/synvert/snippets/rails/strong_parameters_spec.rb in synvert-0.0.7
- old
+ new
@@ -11,9 +11,10 @@
describe 'with fakefs', fakefs: true do
let(:application_content) {'''
module Synvert
class Application < Rails::Application
config.active_record.whitelist_attributes = true
+ config.active_record.mass_assignment_sanitizer = :strict
end
end
'''}
let(:application_rewritten_content) {'''
module Synvert