lib/generative/rake_task.rb in generative-0.2.0.pre1 vs lib/generative/rake_task.rb in generative-0.2.0.pre2
- old
+ new
@@ -4,9 +4,11 @@
module Generative
class RakeTask < RSpec::Core::RakeTask
def initialize(*args, &task_block)
setup_ivars(args)
+ self.name = :generative if name == :spec
+
desc "Run Generative specs" unless Rake.application.last_comment
options = %w[
--require generative
--format Generative::Formatter