Sha256: 4572b41947afff9b2d2346e0c2e9a461d67a2849f1c56b89d2621da741412d28

Contents?: true

Size: 434 Bytes

Versions: 4

Compression:

Stored size: 434 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/"
Spec::Rake::SpecTask.new do |t|
  t.spec_opts = ['--options', "spec/spec.opts"]
  t.spec_files = FileList['spec/**/*_spec.rb']
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cafepress-search-1.1.0 tasks/rspec.rake
cafepress-search-1.0.2 tasks/rspec.rake
cafepress-search-1.0.1 tasks/rspec.rake
cafepress-search-1.0.0 tasks/rspec.rake