Sha256: a13c89e5517bf1a3eb5a1a1acae679c8bc49833ca68035241acc6a06ee84fc15

Contents?: true

Size: 355 Bytes

Versions: 7

Compression:

Stored size: 355 Bytes

Contents

desc 'Alias to spec:spec'
task :spec => 'spec:spec'

namespace :spec do
#  require 'spec/rake/spectask'
  require 'rspec/core/rake_task'

  desc "Run all specs"
  RSpec::Core::RakeTask.new(:spec) { |task|}

  desc "Run specs with RCov"
  RSpec::Core::RakeTask.new(:rcov) do |task|
    task.rcov = true
    task.rcov_opts = ['--exclude', 'spec']
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
fin-0.1.6 tasks/spec.rake
fin-0.1.5 tasks/spec.rake
p2ruby-0.1.5 tasks/spec.rake
p2ruby-0.1.4 tasks/spec.rake
fin-0.1.4 tasks/spec.rake
fin-0.1.3 tasks/spec.rake
fin-0.1.2 tasks/spec.rake