Rakefile in soaspec-0.0.58 vs Rakefile in soaspec-0.0.59
- old
+ new
@@ -4,22 +4,14 @@
ENV['folder'] ||= ''
ENV['test'] ||= ''
RSpec::Core::RakeTask.new(:run_spec) do |t|
- t.pattern = "{spec/*/#{ENV['folder']}*/,tmp/*/spec/}#{ENV['test']}*_spec.rb"
+ t.pattern = "spec/**/#{ENV['folder']}*/#{ENV['test']}*_spec.rb"
end
-desc 'Use soaspec_init in tmp to generate test files. Used for verifying it'
-task :use_soaspec_init do
- mkdir_p 'tmp'
- mkdir_p 'tmp/init'
- puts `cd tmp/init && ruby ../../exe/soaspec-init`
-end
-
-
desc 'Run tests'
-task spec: %w[clean clobber use_soaspec_init start_test_server run_spec]
+task spec: %w[clean clobber start_test_server run_spec]
task default: :spec
CLEAN.include 'tmp/*'
CLOBBER.include 'logs/*'