Rakefile in sendgrid-api-0.0.1 vs Rakefile in sendgrid-api-0.0.2
- old
+ new
@@ -1,7 +1,9 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
-RSpec::Core::RakeTask.new(:spec)
+RSpec::Core::RakeTask.new(:spec, :tag) do |t, task_args|
+ t.rspec_opts = "--tag #{task_args[:tag]}" if task_args[:tag]
+end
task :default => :spec
task :test => :spec
\ No newline at end of file