Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

there is a bug in the I18n library bundled with newer rails versions …

…which raises an error on :message options with dots in a row. Removing from our test model does not affect our tests
  • Loading branch information...
commit 6e4bb862e7a06c87a7331be2d828591103976010 1 parent 18c43a3
@mjankowski mjankowski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/rails_root/app/models/post.rb
View
2  test/rails_root/app/models/post.rb
@@ -7,6 +7,6 @@ class Post < ActiveRecord::Base
validates_uniqueness_of :title
validates_presence_of :title
- validates_presence_of :body, :message => 'Seriously... wtf'
+ validates_presence_of :body, :message => 'Seriously, wtf'
validates_numericality_of :user_id
end
Please sign in to comment.
Something went wrong with that request. Please try again.