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/attribute_methods_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/attribute_methods_test.rb')
-rw-r--r-- | activerecord/test/cases/attribute_methods_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb index ab44dc8811..1093fedea1 100644 --- a/activerecord/test/cases/attribute_methods_test.rb +++ b/activerecord/test/cases/attribute_methods_test.rb @@ -481,7 +481,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase end def test_typecast_attribute_from_select_to_false - topic = Topic.create(:title => 'Budget') + Topic.create(:title => 'Budget') # Oracle does not support boolean expressions in SELECT if current_adapter?(:OracleAdapter) topic = Topic.scoped(:select => "topics.*, 0 as is_test").first @@ -492,7 +492,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase end def test_typecast_attribute_from_select_to_true - topic = Topic.create(:title => 'Budget') + Topic.create(:title => 'Budget') # Oracle does not support boolean expressions in SELECT if current_adapter?(:OracleAdapter) topic = Topic.scoped(:select => "topics.*, 1 as is_test").first |