module Sanitize::Rails::Matchers::RSpec3
RSpec 3 syntax
Public Instance Methods
failure_message()
click to toggle source
# File lib/sanitize/rails/matchers.rb, line 36 def failure_message "Expected #{should_helper} to return sanitized value '#{valid_value}', got '#{attribute_values}'" end
failure_message_when_negated()
click to toggle source
# File lib/sanitize/rails/matchers.rb, line 40 def failure_message_when_negated "Expected #{field_helper} not to be sanitized" end