From 0eefd8dc4884217e70ed99fb7d8ae272c7ce2d12 Mon Sep 17 00:00:00 2001 From: Santiago Pastorino Date: Sun, 4 Sep 2011 00:24:31 -0300 Subject: [PATCH] Remove useless parens --- railties/test/railties/shared_tests.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/railties/test/railties/shared_tests.rb b/railties/test/railties/shared_tests.rb index 6ed99c76de..21fde49ff7 100644 --- a/railties/test/railties/shared_tests.rb +++ b/railties/test/railties/shared_tests.rb @@ -75,7 +75,7 @@ module RailtiesTest bukkits_migration_order = output.index(output.detect{|o| /NOTE: Migration 3_create_sessions.rb from bukkits has been skipped/ =~ o }) assert_not_nil yaffle_migration_order, "Expected migration to be copied" assert_not_nil bukkits_migration_order, "Expected migration to be skipped" - assert_equal((railties.index('acts_as_yaffle') > railties.index('bukkits')) , (yaffle_migration_order > bukkits_migration_order)) + assert_equal(railties.index('acts_as_yaffle') > railties.index('bukkits'), yaffle_migration_order > bukkits_migration_order) migrations_count = Dir["#{app_path}/db/migrate/*.rb"].length output = `bundle exec rake railties:install:migrations`