aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
Commit message (Collapse)AuthorAgeFilesLines
* Initial extraction of AMo xml serializerJoshua Peek2009-07-033-5/+103
|
* Ensure JSON serializer includes model naming Joshua Peek2009-07-031-1/+0
|
* Move mocha down below initial T::U require and bump version to 0.9.7 [#2858 ↵Yehuda Katz + Carl Lerche2009-07-011-2/+0
| | | | state:resolved]
* Add basic JSON serializer to AMoJoshua Peek2009-06-171-0/+64
|
* Add simple attribute implementation backed by ivarsJoshua Peek2009-06-171-0/+30
|
* Simplify AMo validation attribute readerJoshua Peek2009-06-171-9/+9
|
* Move model naming into ActiveModelJoshua Peek2009-06-171-0/+27
|
* Integrate ActiveModel::Observing into ActiveRecordJoshua Peek2009-06-101-12/+20
|
* Merge branch 'master' into active_modelJoshua Peek2009-05-291-20/+8
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: activemodel/lib/active_model/core.rb activemodel/test/cases/state_machine/event_test.rb activemodel/test/cases/state_machine/state_transition_test.rb activerecord/lib/active_record/validations.rb activerecord/test/cases/validations/i18n_validation_test.rb activeresource/lib/active_resource.rb activeresource/test/abstract_unit.rb
| * Cherry-pick core extensionsJeremy Kemper2009-05-132-0/+2
| |
* | Deprecate Model#validate/validate_on_create/validate_on_update. Use ↵Pratik Naik2009-03-211-3/+7
| | | | | | | | Model.validate :method and likewise
* | Deprecate Errors#on_base/add_to_base/invalid?/each_fullPratik Naik2009-03-212-9/+21
| |
* | Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-2011-34/+160
| |
* | Add I18n translations to ActiveModel and move more AR specific parts to ↵Pratik Naik2009-03-204-404/+325
| | | | | | | | ActiveRecord::Validations
* | Validation tests arent using any fixturesPratik Naik2009-03-201-2/+0
| |
* | Use mattr_accessor in TestsDatabase instead of setup methodPratik Naik2009-03-201-13/+23
| |
* | Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-207-66/+90
| |
* | TestDatabase -> TestsDatabasePratik Naik2009-03-2012-22/+22
| |
* | Remove unused columns from the ActiveModel test schemaPratik Naik2009-03-201-9/+0
| |
* | Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-2017-16/+2150
| |
* | Add test sqlite3 db to .gitignorePratik Naik2009-03-202-4/+1
| |
* | Make Active Model test suite similar to Active RecordPratik Naik2009-03-2012-27/+110
|/
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-1/+1
| | | | [#1617 state:resolved]
* Explicitly require Active Support for testsJeremy Kemper2008-11-241-0/+3
|
* Require Mocha >= 0.9.3 which includes a MiniTest adapterJeremy Kemper2008-11-231-1/+1
|
* MiniTest compat: don't shadow @nameJeremy Kemper2008-11-222-5/+5
|
* Require mocha for tests. Get rid of uses_mocha helper.Jeremy Kemper2008-11-195-189/+167
|
* Require mocha before the testcase overrides, otherwise its run method is ↵Jeremy Kemper2008-11-191-18/+6
| | | | clobbered
* Use the Ruby load path for test_helper requires. Fix AM::TestCase.Jeremy Kemper2008-11-157-21/+12
|
* all aasm tests without activerecord moved over and passingrick2008-06-282-51/+50
|
* converted tests for more complex state transitionsrick2008-06-283-115/+117
|
* add basic events and transitions. still more tests to convertrick2008-06-285-90/+233
|
* initial statemachine machine and state classesrick2008-06-285-4/+456
|
* convert specs to testsrick2008-06-272-0/+146