diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-18 11:35:38 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-18 11:35:38 -0700 |
commit | fda195d34af3cd89cf2f3de3ed653f157c76730b (patch) | |
tree | f8c34089e5a9e203a55b752118e7383d471f8c78 /activerecord/test/cases | |
parent | 568394659c3e56581c684df77c0cc0e6e264a99f (diff) | |
parent | 5d815bd5f66e9767f84916b9b448800434affa48 (diff) | |
download | rails-fda195d34af3cd89cf2f3de3ed653f157c76730b.tar.gz rails-fda195d34af3cd89cf2f3de3ed653f157c76730b.tar.bz2 rails-fda195d34af3cd89cf2f3de3ed653f157c76730b.zip |
Merge pull request #6772 from yahonda/reset_sequence_name_oracle
ORA-02289: sequence does not exist for `SELECT "BLACK_JOKES_SEQ".NEXTVAL FROM dual`
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index c5818d5ded..a9d4481186 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -1523,6 +1523,8 @@ class BasicsTest < ActiveRecord::TestCase after_seq = Joke.sequence_name assert_equal before_seq, after_seq unless before_seq.nil? && after_seq.nil? + ensure + Joke.reset_sequence_name end def test_dont_clear_inheritnce_column_when_setting_explicitly |