aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/postgresql/network_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove most type related predicates from `Column`Sean Griffin2015-01-301-6/+12
| | | | | | Remaining are `limit`, `precision`, `scale`, and `type` (the symbol version). These will remain on the column, since they mirror the options to the `column` method in the schema definition DSL
* Should escape regexp wildcard character `.`Ryuta Kamizono2015-01-191-3/+3
| | | | | `.` is regexp meta character. It should be escape for `assert_match` correctly.
* Prefer `array?` rather than `array`Ryuta Kamizono2015-01-041-3/+3
| | | | | | Slightly refactoring `PostgreSQLColumn`. `array` should be readonly. `default_function` should be initialized by `super`. `sql_type` has been removed `[]`. Since we already choose to remove it we should not change.
* Add `force: true` to tables created in PG testsSean Griffin2014-12-051-1/+1
| | | | | | If the tests are interupted and the teardown block doesn't run, the developer needs to delete these manually in order to be able to run the tests again.
* tests, move schema shorthand assertions into pg specific tests.Yves Senn2014-12-021-1/+22
|
* Remove the `text?` predicate from the type objectsSean Griffin2014-07-061-3/+0
| | | | | | | This was only used for uniqueness validations. The first usage was in conjunction with `limit`. Types which cast to string, but are not considered text cannot have a limit. The second case was only with an explicit `:case_sensitive => true` option given by the user.
* test pg, rm unused requires.Yves Senn2014-06-031-3/+0
|
* pg test, extract network address type tests into separate file.Yves Senn2014-05-221-0/+77