spec/support/models/user.rb in normalizy-0.1.0 vs spec/support/models/user.rb in normalizy-0.2.0
- old
+ new
@@ -2,8 +2,8 @@
class User < ActiveRecord::Base
normalizy :name
def custom_reverse(input, options = {})
- "#{input.reverse}.#{options}.custom"
+ "'#{input.reverse}' to '#{options[:object].name}'"
end
end