features/support/env.rb in rspec-legacy_formatters-1.0.0 vs features/support/env.rb in rspec-legacy_formatters-1.0.1
- old
+ new
@@ -1,4 +1,13 @@
+# For Aruba on 1.9.2
+unless File.respond_to?(:write)
+ class File
+ def self.write(path, content)
+ open(path, 'w') { |f| f << content }
+ end
+ end
+end
+
require 'aruba/cucumber'
timeouts = { 'java' => 60 }
Before do