Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix test to Ruby 1.8

Pathname doesn't respond to to_path
  • Loading branch information...
commit 69599b63de927091faf1d804b6457f65014080d6 1 parent afe5880
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/test/template/sprockets_helper_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.