Sha256: 4844657eabafffb1da4fc6a64edd1458ce832d9acc4e8326208a0828f82be887
Contents?: true
Size: 629 Bytes
Versions: 3
Compression:
Stored size: 629 Bytes
Contents
require 'spec/rake/spectask' Spec::Rake::SpecTask.new(:spec) do |spec| spec.libs << 'lib' << 'spec' spec.spec_files = FileList['spec/**/*_spec.rb'] end Spec::Rake::SpecTask.new(:rcov) do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/**/*_spec.rb' spec.rcov = true spec.rcov_opts = %w[--exclude spec,fcntl,path_helper,yaml --no-rcovrt] end if File.exist?(path = "spec/watirspec/watirspec.rake") load path end namespace :watirspec do desc 'Initialize and fetch the watirspec submodule' task :init do sh "git submodule init" sh "git submodule update" end end task :default => :spec
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
celerity-0.7.5 | tasks/spec.rake |
celerity-0.7.4 | tasks/spec.rake |
celerity-0.7.3 | tasks/spec.rake |