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