Sha256: 94cc719667d732d0efdcbf65e4028fa3d7d79c1fd3d2a89f9b2a0926371f79be

Contents?: true

Size: 358 Bytes

Versions: 10

Compression:

Stored size: 358 Bytes

Contents

require 'rspec/core/rake_task'

spec_tasks = Dir['spec/*/'].map { |d| File.basename(d) }

spec_tasks.each do |folder|
  RSpec::Core::RakeTask.new("spec:#{folder}") do |t|
    t.pattern = "./spec/#{folder}/**/*_spec.rb"
    t.rspec_opts = %w(-fs --color)
  end
end

desc "Run complete application spec suite"
task 'spec' => spec_tasks.map { |f| "spec:#{f}" }

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
capucine-0.2.10 spec/spec.rake
capucine-0.2.9 spec/spec.rake
capucine-0.2.5 spec/spec.rake
capucine-0.2.4 spec/spec.rake
capucine-0.2.3 spec/spec.rake
capucine-0.2.2 spec/spec.rake
capucine-0.2.1 spec/spec.rake
capucine-0.2.0 spec/spec.rake
padrino-validation-html5-0.2 spec/spec.rake
padrino-validation-html5-0.1 spec/spec.rake