Sha256: 02513700162b58b035078e24e24a78353bdba66f200a875ea7994ad6a573f2b0

Contents?: true

Size: 407 Bytes

Versions: 3

Compression:

Stored size: 407 Bytes

Contents

require 'spec/rake/spectask'

spec_files = FileList['specs/**/*.rb']

desc 'Run all specs'
Spec::Rake::SpecTask.new('specs') do |t|
  t.spec_opts = ["--format", "specdoc"]
  t.libs = ['lib']
  t.spec_files = spec_files
end

desc 'Generate an rspec html report'
Spec::Rake::SpecTask.new('spec_html') do |t|
  t.spec_files = spec_files
  t.spec_opts = ['--format html:doc/output/rspec.html','--backtrace']
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gecoder-0.4.0 tasks/specs.rake
gecoder-0.5.0 tasks/specs.rake
gecoder-0.6.0 tasks/specs.rake