Sha256: 8eb7bb2e40bab9ea1248f210b5d7c24f648660bc81885b09b82355d33ee27959

Contents?: true

Size: 651 Bytes

Versions: 43

Compression:

Stored size: 651 Bytes

Contents

require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "octorelease"

task :spec => 'spec:all'

namespace :spec do
  task :all => [ :helper, :backend, :configuration ]

  RSpec::Core::RakeTask.new(:helper) do |t|
    t.pattern = "spec/helper/*_spec.rb"
  end

  task :backend => 'backend:all'
  namespace :backend do
    backends = %w[exec ssh]

    task :all => backends

    backends.each do |backend|
      RSpec::Core::RakeTask.new(backend) do |t|
        t.pattern = "spec/backend/#{backend}/*_spec.rb"
      end
    end
  end

  RSpec::Core::RakeTask.new(:configuration) do |t|
    t.pattern = "spec/configuration_spec.rb"
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
specinfra-2.0.0.beta4 Rakefile
specinfra-1.15.1 Rakefile
specinfra-1.15.0 Rakefile
specinfra-1.14.0 Rakefile
specinfra-1.13.1 Rakefile
specinfra-1.13.0 Rakefile
specinfra-2.0.0.beta3 Rakefile
specinfra-1.12.0 Rakefile
specinfra-1.11.0 Rakefile
specinfra-1.10.0 Rakefile
specinfra-2.0.0.beta2 Rakefile
specinfra-2.0.0.beta1 Rakefile
specinfra-1.9.0 Rakefile
specinfra-1.8.0 Rakefile
specinfra-1.7.0 Rakefile
specinfra-1.6.0 Rakefile
specinfra-1.5.1 Rakefile
specinfra-1.5.0 Rakefile
specinfra-1.4.0 Rakefile
specinfra-1.3.0 Rakefile