From 69599b63de927091faf1d804b6457f65014080d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 21 Mar 2013 09:33:00 -0300 Subject: Fix test to Ruby 1.8 Pathname doesn't respond to to_path --- actionpack/test/template/sprockets_helper_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/template') diff --git a/actionpack/test/template/sprockets_helper_test.rb b/actionpack/test/template/sprockets_helper_test.rb index 7d5ac39d15..1ad9bcab5a 100644 --- a/actionpack/test/template/sprockets_helper_test.rb +++ b/actionpack/test/template/sprockets_helper_test.rb @@ -283,7 +283,7 @@ class SprocketsHelperTest < ActionView::TestCase 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 -- cgit v1.2.3