Permalink
Browse files

Small change to remove warning unused variable.

  • Loading branch information...
1 parent 1e89e43 commit d065938663cda84addf8639dd6e73f43db57172f @arunagw arunagw committed Nov 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/assets_test.rb
@@ -246,7 +246,7 @@ def assert_no_file_exists(filename)
manifest = Dir["#{app_path}/public/assets/manifest-*.json"].first
assets = ActiveSupport::JSON.decode(File.read(manifest))
- assert asset_path = assets["assets"].find { |(k, v)| k !~ /rails.png/ && k =~ /.png/ }[1]
+ assert asset_path = assets["assets"].find { |(k, _)| k !~ /rails.png/ && k =~ /.png/ }[1]
require "#{app_path}/config/environment"

0 comments on commit d065938

Please sign in to comment.