Sha256: 4edc0d8a4d8c46ebdbc3bb8cbfd517de4dce90963508489cb43ec67eb3fa2863
Contents?: true
Size: 534 Bytes
Versions: 17
Compression:
Stored size: 534 Bytes
Contents
require 'rubygems' require 'rake' require 'rdoc/task' require 'rake/testtask' require 'bundler/gem_tasks' begin require 'spec/rake/spectask' Spec::Rake::SpecTask.new do |test| test.warning = true test.rcov = true test.spec_files = FileList['spec/**/*_spec.rb'] end rescue LoadError task :spec do abort "RSpec is not available. In order to run specs, you must: sudo gem install rspec" end end Rake::TestTask.new do |t| t.libs << "test" t.test_files = FileList['test/*test*.rb'] t.verbose = true end
Version data entries
17 entries across 17 versions & 1 rubygems