In ruby-prawn, the specs are run with the Ruby method, with the following debian/ruby-tests.rb file: ---------8<--------------------- require "rspec/autorun" $LOAD_PATH.delete(File.expand_path("../../lib",__FILE__)) RSpec.configure do |c| c.filter_run_excluding :unresolved => true end Dir['./spec/*_spec.rb'].each { |f| require f } ---------->8-------------------- I don't know if the hack consisting of deleting lib/ from the loadpath is feasible in the Rake method. Should we add an option in the Rspec rake task file to prevent adding lib to the loadpath? Cédric
Attachment:
signature.asc
Description: Digital signature