Rakefile in ezid-client-1.4.1 vs Rakefile in ezid-client-1.4.2
- old
+ new
@@ -4,9 +4,19 @@
desc "Run all specs in spec directory"
RSpec::Core::RakeTask.new(:spec)
desc "Run the ci build (no integration tests)"
task :ci do
- system "rspec ./spec/unit/"
+ system "rspec . -t ~deprecated -t ~integration"
+end
+
+desc "Run tests of deprecated functionality"
+task :deprecated do
+ system "rspec . -t deprecated"
+end
+
+desc "Run the integration tests"
+task :integration do
+ system "rspec . -t integration"
end
task default: :spec