Permalink
Browse files

Merge pull request #7782 from yahonda/case_insensitive_test_for_parti…

…al_inserts

Change query pattern case insensitive
  • Loading branch information...
2 parents 9e34127 + 10f5f23 commit a7f887258f59e2a94f3dd7f9a05b4726df8441c7 @rafaelfranca rafaelfranca committed Sep 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/dirty_test.rb
View
2 activerecord/test/cases/dirty_test.rb
@@ -554,7 +554,7 @@ def test_setting_time_attributes_with_time_zone_field_to_same_time_should_not_be
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

0 comments on commit a7f8872

Please sign in to comment.