Dillon Welch
cac943e891
Add frozen_string_literal in all .rb files
...
I noticed these files all had strings such as "", " ", "_" that were
allocated each time some common methods were called, over 1000x on a
page in my app. This comment freezes all of these strings such that
they're only allocated once, saving many KB of memory allocation.
2017-11-27 17:06:18 -08:00
Petr Gazarov
a5f94ba38b
Add specs for required option when not using browser validations
2016-08-13 16:34:02 -04:00
Vasiliy Ermolovich
a280ba770f
Make it possible to override required value that was set in the wrapper.
2015-05-05 11:29:58 +03:00
Jed Schneider
709f3e58c6
Add failing specs for required attaribute with wrapper.
2015-05-03 20:02:09 +03:00
John Voloski
e878330f28
improve inputs's tests description and remove 'should'
2014-05-14 14:19:06 -03:00
Renato Mascarenhas
34312c9fbc
Use 1.9 hash style on code and docs.
2013-01-28 19:02:59 -02:00
Carlos Antonio da Silva
684d50d9f4
Move test to a better place
2012-01-26 11:54:04 -02:00
Rafael Mendonça França
e84431179d
Add test case for the required component
2011-12-04 21:37:45 -02:00
José Valim
f93a6be226
Add tests for custom wrappers.
2011-09-08 16:04:36 +02:00
José Valim
cc72315703
Break inputs_test.rb into many files as well.
2011-09-08 16:04:36 +02:00