spec/test_app.rb in sickle-0.2.0 vs spec/test_app.rb in sickle-0.3.0
- old
+ new
@@ -48,11 +48,12 @@
global_option :verbose
global_option :debug
desc "Run task 1"
option :quiet
+ option :with_prefix
def task1(a, b, c = "def")
- p ["task1", a, b, c, options[:quiet], options[:verbose], options[:debug]]
+ p ["task1", a, b, c, options[:quiet], options[:verbose], options[:debug], options[:with_prefix]]
end
desc "Run task 2"
option :fast
option :slow