method

determine_project_root

determine_project_root(# :nodoc:)
public

No documentation available.

# File lib/spec/runner/options.rb, line 105
      def determine_project_root # :nodoc:
        # This is borrowed (slightly modified) from Scott Taylors
        # project_path project:
        #   http://github.com/smtlaissezfaire/project_path
        Pathname(File.expand_path('.')).ascend do |path|
          if File.exists?(File.join(path, "spec"))
            return path
          end
        end
      end