aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-05-17 08:53:39 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2012-05-17 08:53:39 -0700
commit66d0be64b8e54d686c7dbbebb635bd5d156889a0 (patch)
tree8f550f8604790466b661dff976623d3119f0e951
parent85ac14309c7b6faf846072fc012e14a0f31694e9 (diff)
parent6a48c7975e423fd60f6cc5050dc4f9ad25d798b4 (diff)
downloadrails-66d0be64b8e54d686c7dbbebb635bd5d156889a0.tar.gz
rails-66d0be64b8e54d686c7dbbebb635bd5d156889a0.tar.bz2
rails-66d0be64b8e54d686c7dbbebb635bd5d156889a0.zip
Merge pull request #6365 from kennyj/fix_warning_20120518
Fix warning: ambiguous first argument.
-rw-r--r--activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
index f786452f94..8a7f44d0a3 100644
--- a/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
+++ b/activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
@@ -37,7 +37,7 @@ module ActiveRecord
def test_time_column
owner = Owner.create!(:eats_at => Time.utc(1995,1,1,6,0))
- assert_match /1995-01-01/, owner.reload.eats_at.to_s
+ assert_match(/1995-01-01/, owner.reload.eats_at.to_s)
end
def test_exec_insert