0
I Use This!
Inactive

Commits : Listings

Analyzed 4 days ago. based on code collected 4 days ago.
Mar 12, 2025 — Mar 12, 2026
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Correctly decrement open transactions to fix broken-ness when used with Rails 2.3.2's new savepoint implementation of transactions More... almost 17 years ago
Correctly initialize the first test after dynamically calling define_models. More... about 17 years ago
Bettor support for nested definitions. More... about 17 years ago
Allow a recursive search up the class heirarchy for the definition of the models, allowing the stub method to be called from nested describe blocks in rspec. More... about 17 years ago
Calling new_<stub>! twice would give back two of the same More... over 17 years ago
Added create_<stub> shortcut More... over 17 years ago
update for edge rails with hack so ActiveRecord::Base.connection.increment_open_transactions still works in older versions of rails More... over 17 years ago
Revert "added ModelDefinition::StubProxy so that you can relate stubs to other stubs that haven't been created yet." More... over 17 years ago
added ModelDefinition::StubProxy so that you can relate stubs to other stubs that haven't been created yet. More... over 17 years ago
I don't think this is the time, nor the place More... over 17 years ago
ensure that stubs are loaded in the order that they're entered More... over 17 years ago
convenience method for associating your stubs with other stubs in model definitions More... over 17 years ago
dont cache instantiated stubs with :id => :new More... over 17 years ago
small tweak so that calling define_method with only a hash inherits from the existing stubs properly More... over 17 years ago
custom #define_models method for TestCase and Spec ExampleGroup classees More... over 17 years ago
dup values so that in-place edits to model values do not update the stub values More... over 17 years ago
update specs for :validate, so its checked from the model, not the definition. make :validate => false by default More... over 17 years ago
initialize @options in ModelStubbing::Definition More... over 17 years ago
add validation and callback option support to #model More... over 17 years ago
add :validate and :callbacks options to ModelStubbing::Definition More... over 17 years ago
don't modify has_many stub array More... over 17 years ago
fix failing specs due to #connection not being defined More... over 17 years ago
teardown instantiated stubs More... over 17 years ago
Clear stubbing records between tests, to prevent re-use of modified instantiated stub -- thnx D. Bell More... over 17 years ago
teardown fixtures when all tests have run More... over 17 years ago
When assigning has_many instantiated stubs, temporarily act as new otherwise AR inserts rows More... over 17 years ago
make sure new_record is set to true before inserting More... over 17 years ago
Added more tests (tests for new_<modelname>! which save!s instantiated tests to the database) More... over 17 years ago
Simplified a few tests and added tests for has_many associationsy More... over 17 years ago
Making all tests pass More... over 17 years ago