Rakefile in acumatica-0.2.0 vs Rakefile in acumatica-0.2.1
- old
+ new
@@ -1,10 +1,11 @@
require "bundler/gem_tasks"
-require "rake/testtask"
-Rake::TestTask.new(:test) do |t|
- t.libs << "test"
- t.libs << "lib"
- t.test_files = FileList["test/**/*_test.rb"]
-end
+begin
+ require 'rspec/core/rake_task'
-task :default => :test
+ RSpec::Core::RakeTask.new(:spec)
+
+ task :default => :spec
+rescue LoadError
+ # no rspec available
+end