Matthew Draper
|
87b3e226d6
|
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
This reverts commit 3420a14590 , reversing
changes made to afb66a5a59 .
|
2017-07-02 02:15:17 +09:30 |
|
Kir Shatrov
|
cfade1ec7e
|
Enforce frozen string in Rubocop
|
2017-07-01 02:11:03 +03:00 |
|
Rafael Mendonça França
|
fe1f4b2ad5
|
Add more rubocop rules about whitespaces
|
2016-10-29 01:17:49 -02:00 |
|
Xavier Noria
|
b326e82dc0
|
applies remaining conventions across the project
|
2016-08-06 20:20:22 +02:00 |
|
Xavier Noria
|
4c20825457
|
applies new string literal convention in activemodel/test
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
|
2016-08-06 18:38:23 +02:00 |
|
Radan Skoric
|
e5a78aaaf8
|
Improve Validation Helpers' documentation comments and tests
|
2015-06-27 16:34:16 +02:00 |
|
Vipul A M
|
6eced6a1fe
|
Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 onwards.
|
2015-02-03 20:51:40 +05:30 |
|
mo khan
|
140557e85f
|
allow '1' or true for acceptance validation.
|
2015-01-10 22:47:47 -07:00 |
|
Kuldeep Aggarwal
|
20317f3d4d
|
use the new clear_validators! api everywhere to reset validators in tests
|
2014-01-28 00:13:35 +05:30 |
|
Carlos Antonio da Silva
|
801baeed69
|
Use the new clear_validators! api to reset validators in tests
|
2014-01-27 08:26:54 -02:00 |
|
Patrick Robertson
|
eebb9ddf9b
|
Convert ActiveModel to 1.9 hash syntax.
I also attempted to fix other styleguide violations such as
{ a: :b } over {a: :b} and foo(b: 'bar') over foo( b: 'bar' ).
|
2013-05-01 18:01:46 -07:00 |
|
Josh Kalderimis
|
605c6455ac
|
removed AR from all AMo tests, including any unneeded files (schema, fixtures and test helper)
|
2010-05-09 00:08:11 +03:00 |
|
Josh Kalderimis
|
88ad3ed8b5
|
removed an old unused model in the AMo tests which also removes another AR dependency
|
2010-05-09 00:08:11 +03:00 |
|
Josh Kalderimis
|
66913a76af
|
removed use of AR in AMo tests and removed testing of scopes (:on) in individual validation tests and moved them to their own test file
|
2010-05-08 23:51:36 +03:00 |
|
José Valim
|
74098e4cb6
|
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.reset_callbacks(:validate) is enough. However, tests in ActiveRecord are still coupled, so moved ValidationsRepairHelper back there.
|
2009-12-23 13:30:58 +01:00 |
|
Pratik Naik
|
6173e5bfae
|
Add ActiveModel::Validations tests for regular ruby classes
|
2009-03-20 22:21:27 +00:00 |
|
Pratik Naik
|
4367f39dea
|
TestDatabase -> TestsDatabase
|
2009-03-20 16:02:12 +00:00 |
|
Pratik Naik
|
60756ad4ec
|
Move relevant validation tests from Active Record to Active Model
|
2009-03-20 15:07:49 +00:00 |
|