Sha256: 7022b493e3f2177895eeab293cd1c99dd34e407b70fcc70c0db40273d9a8b0c6
Contents?: true
Size: 483 Bytes
Versions: 6
Compression:
Stored size: 483 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 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'] end task :spec_gem do ENV['USE_GEM'] = 'y' Rake::Task[:spec].invoke end
Version data entries
6 entries across 6 versions & 3 rubygems