Rakefile in browsermob-proxy-0.0.3 vs Rakefile in browsermob-proxy-0.0.4

- old
+ new

@@ -1,7 +1,21 @@ require 'bundler' Bundler::GemHelper.install_tasks require 'rspec/core/rake_task' -RSpec::Core::RakeTask.new + +namespace :spec do + desc 'Run unit specs.' + RSpec::Core::RakeTask.new(:unit) do |t| + t.pattern = "spec/unit/*_spec.rb" + end + + desc 'Run end to end specs.' + RSpec::Core::RakeTask.new(:e2e) do |t| + t.pattern = "spec/e2e/*_spec.rb" + end +end + +desc 'Run all specs.' +task :spec => %w[spec:unit spec:e2e] task :default => :spec