Sha256: 171de6818683a6f2fcc4a40872896d486c54e082ee88c86396a3147bdc644cff
Contents?: true
Size: 435 Bytes
Versions: 11
Compression:
Stored size: 435 Bytes
Contents
namespace :spec do desc "Run all specs" RSpec::Core::RakeTask.new(:normal) do |t| t.pattern = FileList['spec/**/*_spec.rb'] t.rspec_opts = ["--colour", "--format", "documentation"] end desc "Run specs with rcov" RSpec::Core::RakeTask.new(:rcov) do |t| t.pattern = FileList['spec/**/*_spec.rb'] t.rspec_opts = ["--colour", "--format", "documentation"] t.rcov = true end end task :spec => "spec:normal"
Version data entries
11 entries across 11 versions & 1 rubygems