forked from mileszs/wicked_pdf
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed spec tests to Test Unit Assertions and added more tests
- Loading branch information
Lleïr Borràs Metje
committed
Dec 24, 2009
1 parent
7ebc2f3
commit 3eaac99
Showing
4 changed files
with
30 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,23 @@ | ||
require 'rubygems' | ||
require 'spec/rake/spectask' | ||
require 'rake' | ||
require 'rake/testtask' | ||
require 'rake/rdoctask' | ||
|
||
Spec::Rake::SpecTask.new do |t| | ||
t.warning = true | ||
t.rcov = true | ||
desc 'Default: run unit tests.' | ||
task :default => :test | ||
|
||
desc 'Test the wicked_pdf plugin.' | ||
Rake::TestTask.new(:test) do |t| | ||
t.libs << 'lib' | ||
t.libs << 'test' | ||
t.pattern = 'test/**/*_test.rb' | ||
t.verbose = true | ||
end | ||
|
||
task :default => :spec | ||
desc 'Generate documentation for the wicked_pdf plugin.' | ||
Rake::RDocTask.new(:rdoc) do |rdoc| | ||
rdoc.rdoc_dir = 'rdoc' | ||
rdoc.title = 'WickedPdf' | ||
rdoc.options << '--line-numbers' << '--inline-source' | ||
rdoc.rdoc_files.include('README') | ||
rdoc.rdoc_files.include('lib/**/*.rb') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.