test/macros/validates_date_test.rb in whyvalidationssuckin96-1.6.1 vs test/macros/validates_date_test.rb in whyvalidationssuckin96-1.6.2
- old
+ new
@@ -1,10 +1,10 @@
require 'teststrap'
context "validates date" do
should "add a validation macro" do
- WhyValidationsSuckIn96::ValidationBuilder.instance_methods
+ WhyValidationsSuckIn96::ValidationBuilder.instance_methods.map {|im| im.to_s}
end.includes('validates_as_date')
context "with some default options" do
setup do
WhyValidationsSuckIn96::ValidatesDate.new(Object.new, :attribute => :start_date)
\ No newline at end of file