Rakefile in soaspec-0.0.35 vs Rakefile in soaspec-0.0.36
- old
+ new
@@ -1,12 +1,13 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rake/clean'
ENV['folder'] ||= ''
+ENV['test'] ||= ''
RSpec::Core::RakeTask.new(:run_spec) do |t|
- t.pattern = "spec/*/#{ENV['folder']}*/*_spec.rb"
+ t.pattern = "spec/*/#{ENV['folder']}*/#{ENV['test']}*_spec.rb"
end
desc 'Prepare log files'
task :logs do
mkdir_p 'logs'