Sha256: 8e42bee4773f83c77a661ecd48e8f8f6c343d6c6730a3313b6437b7eea2992e9

Contents?: true

Size: 604 Bytes

Versions: 7

Compression:

Stored size: 604 Bytes

Contents

# encoding: utf-8

desc "Run AMQP 0-8 rspec tests"
task :spec08 do
  require 'rspec/core/rake_task'
  puts "===== Running 0-8 tests ====="
  RSpec::Core::RakeTask.new("spec08") do |t|
    t.pattern = "spec/spec_08/*_spec.rb"
    t.rspec_opts = ['--color']
  end
end

desc "Run AMQP 0-9 rspec tests"
task :spec09 do
  require 'rspec/core/rake_task'
  puts "===== Running 0-9 tests ====="
  RSpec::Core::RakeTask.new("spec09") do |t|
    t.pattern = "spec/spec_09/*_spec.rb"
    t.rspec_opts = ['--color']
  end
end

task :default => [ :spec08 ]

desc "Run all rspec tests"
task :all => [:spec08, :spec09]

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bunny-0.7.6 Rakefile
bunny-0.7.5 Rakefile
bunny-0.7.4 Rakefile
bunny-0.7.3 Rakefile
bunny-0.7.2 Rakefile
bunny-0.7.1 Rakefile
bunny-0.7 Rakefile