diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2012-09-29 04:57:27 +0900 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2012-09-29 04:57:27 +0900 |
commit | 10f5f2305d7f73ae32a0cb9fabd1e1130f7f250a (patch) | |
tree | 85e472ee310cea83f9d4e1cf85a260e9828c9f7e /activerecord | |
parent | 9e34127dad0b84b271c5cf8ccef03c86fb962740 (diff) | |
download | rails-10f5f2305d7f73ae32a0cb9fabd1e1130f7f250a.tar.gz rails-10f5f2305d7f73ae32a0cb9fabd1e1130f7f250a.tar.bz2 rails-10f5f2305d7f73ae32a0cb9fabd1e1130f7f250a.zip |
Change query pattern case insensitive
because Oracle adapter uses upper case attribute/column name.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/dirty_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/dirty_test.rb b/activerecord/test/cases/dirty_test.rb index 75a52544d3..7334514f9a 100644 --- a/activerecord/test/cases/dirty_test.rb +++ b/activerecord/test/cases/dirty_test.rb @@ -554,7 +554,7 @@ class DirtyTest < ActiveRecord::TestCase test "partial insert" do with_partial_updates Person do jon = nil - assert_sql(/first_name/) do + assert_sql(/first_name/i) do jon = Person.create! first_name: 'Jon' end |