Project

General

Profile

« Previous | Next » 

Revision b5eca9b3

Added by Michael Moll almost 6 years ago

Fixes #23962 - Fix Style/ExpandPathArguments cop

View differences:

test/helpers/pagelets_helper_test.rb
include PageletsIsolation
setup do
controller.prepend_view_path File.expand_path('../../static_fixtures/views', __FILE__)
controller.prepend_view_path File.expand_path('../static_fixtures/views', __dir__)
self.stubs(:virtual_path).returns("nonexisting/path")
end

Also available in: Unified diff