lib/irt/commands/test.rb in irt-1.2.0 vs lib/irt/commands/test.rb in irt-1.2.1
- old
+ new
@@ -42,13 +42,11 @@
puts IRT.dye(str, :interactive_color)
puts
end
alias_method :tt, :add_test
- def save_as(path)
- IRT::Utils.save_as(path) do |as_file|
- IRT::Session.run_file as_file
- end
+ def save_as(file_path)
+ IRT::Utils.save_as(file_path)
end
alias_method :sa, :save_as
end
end