Sha256: 7dcacc6028256e8b3e71de3cf6dd31a12a3b66a72ff3c64ed5877ccd473e6fd2

Contents?: true

Size: 322 Bytes

Versions: 5

Compression:

Stored size: 322 Bytes

Contents

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

RSpec::Core::RakeTask.new(:run_spec) do |t|
  t.pattern = "spec/*/#{ENV['test_name']}*_spec.rb"
end

desc 'Prepare log files'
task :logs do
  mkdir_p 'logs'
  touch 'logs/traffic.log'
end

desc 'Run tests'
task :spec => %w[logs run_spec]

task :default => :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
soaspec-0.0.5 Rakefile
soaspec-0.0.4 Rakefile
soaspec-0.0.3 Rakefile
soaspec-0.0.2 Rakefile
soaspec-0.0.1 Rakefile