Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove useless parens

  • Loading branch information...
commit 04c25a7f003857fca8b8f7b39ea2402c1972dc1c 1 parent 4fa403c
@spastorino spastorino authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/railties/shared_tests.rb
View
2  railties/test/railties/shared_tests.rb
@@ -75,7 +75,7 @@ class CreateYaffles < ActiveRecord::Migration
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`
Please sign in to comment.
Something went wrong with that request. Please try again.