Sha256: 7b37f0bd16197ebba935e20d17a73a0caca0cc19e44f684409281fcd8917e90f

Contents?: true

Size: 474 Bytes

Versions: 5

Compression:

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

module Spec 
   class << self; def run; false; end; end 
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

5 entries across 5 versions & 1 rubygems

Version Path
message-recorder-1.0.0 tasks/rspec.rake
message-recorder-1.0.2 tasks/rspec.rake
message-recorder-1.0.1 tasks/rspec.rake
message-recorder-1.0.3 tasks/rspec.rake
message-recorder-1.0.4 tasks/rspec.rake