Sha256: ffe24644fbcadaf72804801bb3eab7814a1dbad8eb285632673e94d2961d41ee

Contents?: true

Size: 423 Bytes

Versions: 3

Compression:

Stored size: 423 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
faultinjection-0.0.1 tasks/rspec.rake
faultinjection-0.0.2 tasks/rspec.rake
faultinjection-0.0.3 tasks/rspec.rake