Sha256: 6ebd6ea8c8749aff5f49b4f28e6a8cb01ffd084fe8b075f448ce01781873ef02
Contents?: true
Size: 664 Bytes
Versions: 4
Compression:
Stored size: 664 Bytes
Contents
require "bundler/gem_tasks" require 'rspec/core/rake_task' task :spec => 'spec:all' namespace :spec do oses = %w( darwin debian gentoo redhat solaris solaris10 smartos ) task :all => [ oses.map {|os| "spec:#{os}" }, :helpers, :exec, :ssh ].flatten oses.each do |os| RSpec::Core::RakeTask.new(os.to_sym) do |t| t.pattern = "spec/#{os}/*_spec.rb" end end RSpec::Core::RakeTask.new(:helpers) do |t| t.pattern = "spec/helpers/*_spec.rb" end RSpec::Core::RakeTask.new(:exec) do |t| t.pattern = "spec/backend/exec/*_spec.rb" end RSpec::Core::RakeTask.new(:ssh) do |t| t.pattern = "spec/backend/ssh/*_spec.rb" end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
serverspec-0.6.21 | Rakefile |
serverspec-0.6.20 | Rakefile |
serverspec-0.6.19 | Rakefile |
serverspec-0.6.18 | Rakefile |