Hi, Thanks for reporting this issue.
This problem is caused by a change of behavior of RSpec that happened
around the 2.5 release.
Before, having a require "rspec" would imply that specs are run at exit
time, but this is no longer true. This probably affects other packages
using RSpec, that haven't been updated for a while.
There are two alternatives:
- use rspec/autorun. Instead of modifying the source to add it to
spec/spec_helper, you can add it at the top of
debian/ruby-test-files.yaml
- an other possibility is to replace the 'yaml' method to run the tests
with the 'rake' method, by deleting debian/ruby-test-files.yaml and
add a debian/ruby-tests.rake file with a content similar to:
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = './spec/*_spec.rb'
end
task :default => :spec
Cheers,
Cédric
signature.asc
Description: Digital signature
_______________________________________________ Pkg-ruby-extras-maintainers mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers
