Sha256: 2a5345c92f053b74dfac4140b7b4403dd1de4a92d79f57bea3ba109c295a9639

Contents?: true

Size: 186 Bytes

Versions: 1

Compression:

Stored size: 186 Bytes

Contents

module RSpec
  module Permutations
    module SpecFinder
      def self.find
        caller_locations.find { |l| l.path.end_with?("_spec.rb") }.absolute_path
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec-permutations-1.0.0 lib/rspec/permutations/spec_finder.rb