Permalink
Browse files

Fix test to Ruby 1.8

Pathname doesn't respond to to_path
  • Loading branch information...
rafaelfranca committed Mar 21, 2013
1 parent afe5880 commit 69599b63de927091faf1d804b6457f65014080d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/test/template/sprockets_helper_test.rb
@@ -283,7 +283,7 @@ def compute_host(source, request, options = {})
Rails.application.assets.expects(:resolve).never
- asset_paths.asset_for(FIXTURES.join("sprockets/app/javascripts/foo.min.js").to_path, 'min')
+ asset_paths.asset_for(FIXTURES.join("sprockets/app/javascripts/foo.min.js"), 'min')
end
test "stylesheet path through asset_path" do

0 comments on commit 69599b6

Please sign in to comment.