Sha256: 1147258c8fa187d4a867469ebb26fbce22eb6f9438ff8faa15533c713bc27d93
Contents?: true
Size: 519 Bytes
Versions: 21
Compression:
Stored size: 519 Bytes
Contents
require 'spec/rake/spectask' spec_files = FileList['specs/**/*.rb'] desc 'Run all specs' Spec::Rake::SpecTask.new(:specs) do |t| t.libs = ['lib'] t.spec_files = spec_files end desc 'Run specs for the examples' Spec::Rake::SpecTask.new(:example_specs) do |t| t.libs = ['lib'] t.spec_files = FileList['specs/examples.rb'] 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
21 entries across 21 versions & 2 rubygems