diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2012-04-29 21:27:09 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2012-04-29 21:27:09 -0700 |
commit | 363d7ee55176e692bc031dcf0dc7f9f6e359abd6 (patch) | |
tree | 73584ce406b801b7edb2a146a8732cfbe97ba8de /activerecord/test/cases/invalid_date_test.rb | |
parent | ed7ea66dbb0aaf9e16c87b51d2d0044d827b4af3 (diff) | |
parent | d56f5c8db7e937cabd07ff192c386f2aefed33a4 (diff) | |
download | rails-363d7ee55176e692bc031dcf0dc7f9f6e359abd6.tar.gz rails-363d7ee55176e692bc031dcf0dc7f9f6e359abd6.tar.bz2 rails-363d7ee55176e692bc031dcf0dc7f9f6e359abd6.zip |
Merge pull request #6074 from mark-rushakoff/unused-variables
Remove some unused variable assignments
Diffstat (limited to 'activerecord/test/cases/invalid_date_test.rb')
-rw-r--r-- | activerecord/test/cases/invalid_date_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/invalid_date_test.rb b/activerecord/test/cases/invalid_date_test.rb index 98cda010ae..426a350379 100644 --- a/activerecord/test/cases/invalid_date_test.rb +++ b/activerecord/test/cases/invalid_date_test.rb @@ -7,8 +7,6 @@ class InvalidDateTest < ActiveRecord::TestCase invalid_dates = [[2007, 11, 31], [1993, 2, 29], [2007, 2, 29]] - topic = Topic.new - valid_dates.each do |date_src| topic = Topic.new("last_read(1i)" => date_src[0].to_s, "last_read(2i)" => date_src[1].to_s, "last_read(3i)" => date_src[2].to_s) # Oracle DATE columns are datetime columns and Oracle adapter returns Time value |