Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rake'
- require 'rake/testtask'
- require 'rake/rdoctask'
- require File.join(File.dirname(__FILE__), 'spec', 'spec_helper')
- require 'spec/rake/spectask'
- desc 'Default: run unit tests.'
- task :default => :spec
- desc 'Test the file_reader_with_memory plugin.'
- Spec::Rake::SpecTask.new(:spec) do |t|
- t.spec_files = FileList['spec/**/*.rb']
- t.rcov = false
- end
- ----
- $ rake
- (in /home/garry/dev/foo/vendor/plugins/file_reader_with_memory)
- ..........
- Finished in 0.011264 seconds
- 10 examples, 0 failures
- $ rake spec
- (in /home/garry/dev/foo/vendor/plugins/file_reader_with_memory)
- ..........
- Finished in 0.011478 seconds
- 10 examples, 0 failures
- ..........
- Finished in 0.014252 seconds
- 10 examples, 0 failures
- $
Add Comment
Please, Sign In to add comment