spec/environment.rb in watirsplash-2.0.0.rc2 vs spec/environment.rb in watirsplash-2.0.0
- old
+ new
@@ -8,7 +8,11 @@
RSpec.configure do |config|
config.before(:all) do
WatirSplash::Browser.new
end
+
+ config.after(:all) do
+ WatirSplash::Browser.current.close
+ end
end