Rakefile in soaspec-0.0.78 vs Rakefile in soaspec-0.0.79
- old
+ new
@@ -3,20 +3,13 @@
require 'rake/clean'
ENV['folder'] ||= ''
ENV['test'] ||= ''
-RSpec::Core::RakeTask.new(:run_spec) do |t|
+desc 'Run tests'
+RSpec::Core::RakeTask.new(spec: %i[clean clobber start_test_server]) do |t|
t.pattern = "spec/**/#{ENV['folder']}*/#{ENV['test']}*_spec.rb"
- t.exclude_pattern = 'spec/exe/*_spec.rb'
end
-
-RSpec::Core::RakeTask.new(exe_spec: %i[start_test_server]) do |t|
- t.pattern = 'spec/exe/*_spec.rb'
-end
-
-desc 'Run tests'
-task spec: %w[clean clobber start_test_server run_spec]
task default: :spec
CLEAN.include 'tmp/*'
CLOBBER.include 'logs/*'