aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2010-07-14 16:50:18 +0100
committerPratik Naik <pratiknaik@gmail.com>2010-07-14 16:50:26 +0100
commit4a06489525809755bcb8fd4c05394dbfb900f237 (patch)
tree25acf3db89a976858458dd6e843babbc32a85ee4 /activerecord/test
parentb7944e1b211c37fd9db8d72bef9f12c42b68a0a4 (diff)
downloadrails-4a06489525809755bcb8fd4c05394dbfb900f237.tar.gz
rails-4a06489525809755bcb8fd4c05394dbfb900f237.tar.bz2
rails-4a06489525809755bcb8fd4c05394dbfb900f237.zip
Style fixes
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/base_test.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb
index a4cf5120e1..87f46d2992 100644
--- a/activerecord/test/cases/base_test.rb
+++ b/activerecord/test/cases/base_test.rb
@@ -63,9 +63,7 @@ class BasicsTest < ActiveRecord::TestCase
def test_set_attributes_without_hash
topic = Topic.new
- assert_nothing_raised do
- topic.attributes = ''
- end
+ assert_nothing_raised { topic.attributes = '' }
end
def test_integers_as_nil