aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorMarcelo Silveira <marcelo@mhfs.com.br>2012-03-21 19:28:34 -0300
committerMarcelo Silveira <marcelo@mhfs.com.br>2012-03-21 19:28:34 -0300
commit86d1dfb821dcc31897a0899e9b0933852d33cac3 (patch)
tree3cd81f2499602732539c53a68d9dd7aec098b75d /railties
parent0a12a5f8169685915cbb7bf4d0a7bb482f7f2fd2 (diff)
downloadrails-86d1dfb821dcc31897a0899e9b0933852d33cac3.tar.gz
rails-86d1dfb821dcc31897a0899e9b0933852d33cac3.tar.bz2
rails-86d1dfb821dcc31897a0899e9b0933852d33cac3.zip
Avoid another blank line in generated migration and remove assertion as per @spastorino request
Diffstat (limited to 'railties')
-rw-r--r--railties/test/generators/migration_generator_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/railties/test/generators/migration_generator_test.rb b/railties/test/generators/migration_generator_test.rb
index ad54f321a5..fd84164340 100644
--- a/railties/test/generators/migration_generator_test.rb
+++ b/railties/test/generators/migration_generator_test.rb
@@ -37,7 +37,6 @@ class MigrationGeneratorTest < Rails::Generators::TestCase
assert_method :change, content do |up|
assert_match(/add_column :posts, :title, :string/, up)
assert_match(/add_column :posts, :body, :text/, up)
- assert_no_match(/\n\n/, up)
end
end
end