Sha256: 7d59a5c41293020f9b979a4b56070bb9ac2010998374b884f967f9409365eeb4

Contents?: true

Size: 827 Bytes

Versions: 10

Compression:

Stored size: 827 Bytes

Contents

begin
  require 'spec'
rescue LoadError
  require '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

task :test do
end

$:.unshift(File.join(File.dirname(__FILE__), '..'))
require 'spec/stubs'

desc "Run the specs under spec/models"
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "spec/spec.opts"]
  t.spec_files = FileList['spec/**/*_spec.rb']
  t.rcov = true
  t.rcov_opts = ['--include',
                 '"lib/rhom/*,lib/rho/*"',
                 '-x',
                 'spec,gems,sqlite3/*,lib/date.rb,lib/rational.rb,lib/time.rb,lib/find.rb,config.rb,lib/erb.rb,lib/singleton.rb,lib/pairparser.rb',
                 '--text-report',
                 '--html']
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rhodes-0.1.3 tasks/rspec.rake
rhodes-0.2.0 tasks/rspec.rake
rhodes-0.1.2 tasks/rspec.rake
rhodes-0.2.1 tasks/rspec.rake
rhodes-0.2.3 tasks/rspec.rake
rhodes-0.2.2 tasks/rspec.rake
rhodes-0.2.4 tasks/rspec.rake
rhodes-0.2.6 tasks/rspec.rake
rhodes-0.3.0 tasks/rspec.rake
rhodes-0.2.5 tasks/rspec.rake