test/spec_helper.rb in less-rails-2.8.0 vs test/spec_helper.rb in less-rails-3.0.0
- old
+ new
@@ -98,10 +98,10 @@
def setup_generator_class
self.class.generator_class = Less::Generators.const_get(self.class.name.sub(/Spec$/, ''))
end
def run_generator(args=default_arguments, config={})
- capture(:stdout) { generator_class.start(args, config.reverse_merge(:destination_root => destination_root)) }
+ generator_class.start(args, config.reverse_merge(:destination_root => destination_root))
end
def generator(args=default_arguments, options={}, config={})
@generator ||= generator_class.new(args, options, config.reverse_merge(:destination_root => destination_root))
end