lib/irt/commands/test.rb in irt-1.2.0.p01 vs lib/irt/commands/test.rb in irt-1.2.0.p02
- old
+ new
@@ -43,11 +43,11 @@
puts
end
alias_method :tt, :add_test
def save_as(path)
- IRT::Utils.save_as(path) do
- IRT::Session.run_file path
+ IRT::Utils.save_as(path) do |as_file|
+ IRT::Session.run_file as_file
end
end
alias_method :sa, :save_as
end