Skip to content

Commit b1901cd

Browse files
committed
Simplify the test and make sure Ruby 1.9x stop complaining
1 parent 428d508 commit b1901cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/validations/date_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
d = TestRecord.new(:start_date => Time.now, :end_date => Time.now - 1)
1212

1313
refute d.valid?
14-
refute_includes d.errors.map(&:to_s).join, 'translation missing'
14+
refute_includes d.errors.to_s, 'translation missing'
1515
end
1616
end

0 commit comments

Comments
 (0)