rails/actionpack/test
Roque Pinel 12b0b26df7 Fix state being carried over from previous transaction
This clears the transaction record state when the transaction finishes
with a `:committed` status.

Considering the following example where `name` is a required attribute.
Before we had `new_record?` returning `true` for a persisted record:

```ruby
  author = Author.create! name: 'foo'
  author.name = nil
  author.save        # => false
  author.new_record? # => true
```
2015-07-20 09:12:01 -06:00
..
abstract Merge pull request #11790 from printercu/patch-3 2015-02-12 15:39:17 -02:00
assertions use a lookup table for assert_response 2015-07-13 18:10:36 -07:00
controller Fix state being carried over from previous transaction 2015-07-20 09:12:01 -06:00
dispatch Stop using deprecated render :text in test 2015-07-17 22:27:33 -04:00
fixtures Merge pull request #20138 from tgxworld/deprecated_assert_template 2015-06-01 12:39:03 -03:00
journey Revert "Merge pull request #20584 from arthurnn/fix_url" 2015-06-17 20:17:44 +02:00
lib/controller Removing unused fake models 2014-09-07 22:51:14 -03:00
routing Remove deprecate *_path helpers in email views 2015-01-04 11:58:42 -03:00
tmp Use safe tmp dir 2009-08-13 21:03:25 -05:00
abstract_unit.rb Add ActionController API functionality 2015-06-11 16:54:09 -03:00