Permalink
Browse files

fixed indentation in test cases

Signed-off-by: wycats <wycats@gmail.com>
  • Loading branch information...
1 parent f2d22ec commit 7325dd21b3d879955a4e8331bf44fd4b50572dc8 @amerine amerine committed with wycats Aug 12, 2010
@@ -41,7 +41,7 @@ def test_successful_reconnection_after_timeout_with_verify
sleep 2
@connection.verify!
assert @connection.active?
- end
+ end
# Test that MySQL allows multiple results for stored procedures
if Mysql.const_defined?(:CLIENT_MULTI_RESULTS)
@@ -52,8 +52,7 @@ def test_extension_name
name = :association_name
assert_equal 'DeveloperAssociationNameAssociationExtension', Developer.send(:create_extension_modules, name, extension, []).first.name
- assert_equal 'MyApplication::Business::DeveloperAssociationNameAssociationExtension',
-MyApplication::Business::Developer.send(:create_extension_modules, name, extension, []).first.name
+ assert_equal 'MyApplication::Business::DeveloperAssociationNameAssociationExtension', MyApplication::Business::Developer.send(:create_extension_modules, name, extension, []).first.name
assert_equal 'MyApplication::Business::DeveloperAssociationNameAssociationExtension', MyApplication::Business::Developer.send(:create_extension_modules, name, extension, []).first.name
assert_equal 'MyApplication::Business::DeveloperAssociationNameAssociationExtension', MyApplication::Business::Developer.send(:create_extension_modules, name, extension, []).first.name
end
@@ -356,7 +356,7 @@ def test_should_associate_with_record_if_parent_record_is_not_saved
assert_equal @ship.name, 'Nights Dirty Lightning'
assert_equal @pirate, @ship.pirate
- end
+ end
def test_should_take_a_hash_with_string_keys_and_update_the_associated_model
@ship.reload.pirate_attributes = { 'id' => @pirate.id, 'catchphrase' => 'Arr' }

0 comments on commit 7325dd2

Please sign in to comment.