Sha256: 70b6984cf3f570e831661057ceb20f07b13409ddb2651c70953a01e507857e47
Contents?: true
Size: 839 Bytes
Versions: 1
Compression:
Stored size: 839 Bytes
Contents
require "bundler/gem_tasks" begin require "rspec/core/rake_task" require "octorelease" rescue LoadError end if defined?(RSpec) 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 RSpec::Core::RakeTask.new(:command) do |t| t.pattern = "spec/command/*.rb" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
specinfra-2.0.0.beta6 | Rakefile |