lib/raven/integrations/tasks.rb in sentry-raven-2.1.0 vs lib/raven/integrations/tasks.rb in sentry-raven-2.1.1

- old
+ new

@@ -2,10 +2,10 @@ require 'raven/cli' namespace :raven do desc "Send a test event to the remote Sentry server" task :test, [:dsn] do |_t, args| - Rake::Task["environment"].invoke if defined? Rails + Rake::Task["environment"].invoke if Rake::Task.tasks.map(&:to_s).include?("environment") Raven::CLI.test(args.dsn) end end