features/step_definitions/aka_steps.rb in aka-0.5.4 vs features/step_definitions/aka_steps.rb in aka-0.5.8
- old
+ new
@@ -15,5 +15,9 @@
worked = true
File.foreach("#{ENV['HOME']}/.alias") do |line|
worked = false if line.start_with? "alias #{arg1}"
end
end
+
+When /^I close the stdin stream$/ do
+ @interactive.stdin.close()
+end