public
Description: Spec the steps in rspec stories.
Homepage: http://workunitgroup.com/2008/4/23/crafting-rspec-steps-with-step_eval-and-drying-them-with-a-helper
Clone URL: git://github.com/mhennemeyer/stepspecr.git
stepspecr / Rakefile
100644 23 lines (19 sloc) 0.557 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'rake'
require 'spec/rake/spectask'
require 'rake/rdoctask'
 
desc 'Default: run examples.'
task :default => :spec
 
desc 'Run the specs - stepspecr plugin.'
Spec::Rake::SpecTask.new(:spec) do |t|
  t.libs << 'lib'
  t.pattern = 'spec/*_spec.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the stepspecr plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'StepSpecr'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/*.rb')
end