Added tests for validators
authorJ Guthrie <jamie.guthrie@gmail.com>
Mon, 5 Nov 2018 15:41:35 +0000 (15:41 +0000)
committerJ Guthrie <jamie.guthrie@gmail.com>
Mon, 5 Nov 2018 16:23:30 +0000 (16:23 +0000)
commit1e57189366c0e4a49cb29658e9bf5985996709a2
tree1f0244ad0cb25ad6eba55e3635ead57f3c8637c1
parent6cde8c9b0c4220db3b5598a268c197e77258a8cc
Added tests for validators
21 files changed:
app/models/changeset_comment.rb
app/models/changeset_tag.rb
app/models/diary_comment.rb
app/models/diary_entry.rb
app/models/message.rb
app/models/node_tag.rb
app/models/old_node_tag.rb
app/models/old_relation_tag.rb
app/models/old_way_tag.rb
app/models/redaction.rb
app/models/relation_tag.rb
app/models/trace.rb
app/models/tracetag.rb
app/models/user_block.rb
app/models/user_preference.rb
app/models/way_tag.rb
test/models/user_test.rb
test/validators/invalid_chars_validator_test.rb [new file with mode: 0644]
test/validators/invalid_url_chars_validator_test.rb [new file with mode: 0644]
test/validators/leading_whitespace_validator_test.rb [new file with mode: 0644]
test/validators/trailing_whitespace_validator_test.rb [new file with mode: 0644]