spec/test_app.rb in sickle-0.5.2 vs spec/test_app.rb in sickle-0.5.3
- old
+ new
@@ -46,9 +46,13 @@
include Sickle::Runner
global_flag :verbose
global_option :debug
+ before do
+ $verbose = options[:verbose]
+ end
+
desc "Run task 1"
flag :quiet
option :with_prefix
def task1(a, b, c = "def")
p ["task1", a, b, c, options[:quiet], options[:verbose], options[:debug], options[:with_prefix]]