Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

only create a new browser if it's nil to improve performance

  • Loading branch information...
commit 874a640532b731b9b90841179febdcc5a5fb5191 1 parent 79bf22b
@langalex authored
View
3  CHANGES.md
@@ -1,3 +1,6 @@
+## 0.2.10
+* another speed improvement by only clearing cookies instead of closing browsers after each scenario (dewind)
+
## 0.2.9
* fixed memory leaks within the java process by clearing proxies (dewind)
* fixed syntax error when sending multiline lambdas (endor, langalex)
View
4 VERSION.yml
@@ -1,5 +1,5 @@
---
-:major: 0
-:build:
:minor: 2
:patch: 9
+:build:
+:major: 0
View
14 rails_generators/culerity/templates/features/step_definitions/culerity_steps.rb
@@ -3,12 +3,14 @@
Before do
$rails_server ||= Culerity::run_rails(:environment => 'culerity', :port => 3001)
$server ||= Culerity::run_server
- $browser = Culerity::RemoteBrowserProxy.new $server, {:browser => :firefox3,
- :javascript_exceptions => true,
- :resynchronize => true,
- :status_code_exceptions => true
- }
- $browser.log_level = :warning
+ unless $browser
+ $browser = Culerity::RemoteBrowserProxy.new $server, {:browser => :firefox3,
+ :javascript_exceptions => true,
+ :resynchronize => true,
+ :status_code_exceptions => true
+ }
+ $browser.log_level = :warning
+ end
@host = 'http://localhost:3001'
end
Please sign in to comment.
Something went wrong with that request. Please try again.