aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-07-14 17:33:07 -0700
committerwycats <wycats@gmail.com>2010-07-14 17:33:07 -0700
commit3c300b31219f2af3ecd46ef22b04e5c5548db899 (patch)
treed42a4759e7ef4a4359061e1d38fb5209a6281384 /activerecord/test
parent955b26ac6e729d7197f9c5134ad7d438c08293c0 (diff)
downloadrails-3c300b31219f2af3ecd46ef22b04e5c5548db899.tar.gz
rails-3c300b31219f2af3ecd46ef22b04e5c5548db899.tar.bz2
rails-3c300b31219f2af3ecd46ef22b04e5c5548db899.zip
Style fixes
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/base_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb
index 87f46d2992..a4cf5120e1 100644
--- a/activerecord/test/cases/base_test.rb
+++ b/activerecord/test/cases/base_test.rb
@@ -63,7 +63,9 @@ class BasicsTest < ActiveRecord::TestCase
def test_set_attributes_without_hash
topic = Topic.new
- assert_nothing_raised { topic.attributes = '' }
+ assert_nothing_raised do
+ topic.attributes = ''
+ end
end
def test_integers_as_nil