features/support/hooks.rb in rufus-0.3 vs features/support/hooks.rb in rufus-0.4
- old
+ new
@@ -1,3 +1,10 @@
Before do
- puts selenium
+ $driver = Rufus::Driver.new if $driver.nil?
+ sleep 2
+ $driver.start
+end
+
+After do
+ $driver = nil
+ sleep 2
end
\ No newline at end of file