method

find_candidate_template_paths

rails latest stable - Class: ActionView::FixtureResolver

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.1.7.7) is shown here.

find_candidate_template_paths(path)
private

No documentation available.

# File actionview/lib/action_view/testing/resolvers.rb, line 26
      def find_candidate_template_paths(path)
        @hash.keys.select do |fixture|
          fixture.start_with?(path.virtual)
        end.map do |fixture|
          "/#{fixture}"
        end
      end