Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Oct 10, 2016
1 parent f137665 commit 5987dd3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/sprockets/resolve.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ def resolve!(path, **kargs)
end

message << " with type '#{kargs[:accept]}'" if kargs[:accept]
message << " with type '#{kargs[:accept]}'" if kargs[:accept]
message << "\nChecked in these paths: \n #{ kargs[:paths].join("\n ") }"

load_paths = kargs[:load_paths] || config[:paths]
message << "\nChecked in these paths: \n #{ load_paths.join("\n ") }"

raise FileNotFound, message
end
Expand Down

0 comments on commit 5987dd3

Please sign in to comment.