spec/unit/user_spec.rb in gds-sso-14.3.0 vs spec/unit/user_spec.rb in gds-sso-15.0.0
- old
+ new
@@ -45,10 +45,10 @@
def update_attribute(key, value)
send("#{key}=".to_sym, value)
end
- def update_attributes(options)
+ def update!(options)
options.each do |key, value|
update_attribute(key, value)
end
end