lib/irt/commands/test.rb in irt-1.1.7 vs lib/irt/commands/test.rb in irt-1.2.0.p01

- old
+ new

@@ -43,11 +43,12 @@ puts end alias_method :tt, :add_test def save_as(path) - require 'irt/utils' - IRT::Utils.save_as(IRT.irt_file, path, IRT.prompter){ rerun } + IRT::Utils.save_as(path) do + IRT::Session.run_file path + end end alias_method :sa, :save_as end end