Sha256: 785bf47587f563366682cf6f9ae55023dca485f4aa189e5984a4b55e2f386c5f
Contents?: true
Size: 456 Bytes
Versions: 11
Compression:
Stored size: 456 Bytes
Contents
begin require 'spec' rescue LoadError require 'rubygems' unless ENV['NO_RUBYGEMS'] require 'spec' end begin require 'spec/rake/spectask' rescue LoadError puts <<-EOS To use rspec for testing you must install rspec gem: gem install rspec EOS exit(0) end desc "Run the specs under spec/models" Spec::Rake::SpecTask.new do |t| t.spec_opts = ['--options', "spec/spec.opts"] t.rcov = true t.spec_files = FileList['spec/**/*_spec.rb'] end
Version data entries
11 entries across 11 versions & 1 rubygems