Sha256: 0ed6fc79769eab636597f621cb25c041f8abb6bc891a2c2b2371c5c96bb45a13

Contents?: true

Size: 485 Bytes

Versions: 6

Compression:

Stored size: 485 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.spec_files = FileList['spec/**/*_spec.rb']
  t.spec_files = FileList['spec/*_spec.rb']
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wparser-0.1.3 tasks/rspec.rake
wparser-0.1.2 tasks/rspec.rake
wparser-0.1.1 tasks/rspec.rake
wparser-0.1.0 tasks/rspec.rake
wparser-0.0.2 tasks/rspec.rake
wparser-0.0.1 tasks/rspec.rake