lib/irt/commands/test.rb in irt-1.2.2 vs lib/irt/commands/test.rb in irt-1.2.3

- old
+ new

@@ -12,10 +12,11 @@ puts puts IRT.dye(desc_str, :interactive_color) puts end alias_method :dd, :add_desc + alias_method :ad, :add_desc def add_test(description='') mode = context.irt_mode raise IRT::SessionModeError, "You cannot add a test in #{mode} mode." unless mode == :interactive last_value = context.last_value @@ -41,9 +42,10 @@ puts puts IRT.dye(str, :interactive_color) puts end alias_method :tt, :add_test + alias_method :at, :add_test def save_as(file_path) IRT.save_as(file_path) end alias_method :sa, :save_as