Skip to content

Commit

Permalink
removed temporary test code
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman2K committed Nov 23, 2008
1 parent 677e84f commit 7e5eaca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/rails_development_boost_test.rb
Expand Up @@ -125,7 +125,7 @@ def assert_different_object_id(*expressions, &block)
end

def each_object_id_diff(alter, expressions)
ids_before = expressions.map { |expr| [expr.dup, eval("#{expr.dup}.object_id")].dup }
ids_before = expressions.map { |expr| [expr, eval("#{expr}.object_id")] }
alter.call
ids_before.each do |expr, before|
after = eval("#{expr}.object_id")
Expand Down

0 comments on commit 7e5eaca

Please sign in to comment.