Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Switch customer matcher failure_message to failure_message_should

  • Loading branch information...
commit bbfee9f7b950036c9d65583d0e37d561f5f6adc7 1 parent 800b45b
@senior senior authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/custom_matchers.rb
View
2  spec/custom_matchers.rb
@@ -5,7 +5,7 @@
record[attribute] == old_value
end
- failure_message do
+ failure_message_for_should do
"#{subject.class} should protect attribute #{attribute.inspect}"
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.