Matthew Horan
2b417defb8
Skip forking spec on JRuby
...
* JRuby doesn't support `fork`, so this test is irrelevant.
2014-01-28 19:17:16 -05:00
Matthew Horan
15bb56012e
Capybara spec_helper is in capybara/spec
2013-02-17 11:19:38 -05:00
Matthew Horan
59ca3c9789
Bump Capybara dependency to 2.0.2
...
Required for Capybara::SpecHelper.configure.
2013-01-03 14:03:16 -05:00
Matthew Horan
615698037e
Reset Capybara.app_host after each spec
...
Workaround for Capybara integration specs which fail to do the same.
2012-11-30 22:12:11 -05:00
Matthew Horan
8650fe1ff3
Don't reset the browser unnecessarily
...
The Capybara spec_helper already resets the browser after each spec, so
we only need to reset after using the driver via AppRunner.
2012-11-30 22:12:03 -05:00
Matthew Horan
2ceab4e525
Forward stderr via Open3#popen3
...
Forwarding stderr via 2>&1 causes an additional child process to be
spawned. Killing that process does not kill webkit_server.
JavaScipt console messages and alerts are now written to the logger
instead of directly to stdout.
2012-11-30 21:38:56 -05:00
Joe Ferris
327ae85e86
Use sinatra for test apps
2012-07-08 16:09:40 -07:00
Joe Ferris
265a7da652
Improve pattern of testing driver against a rack app
2012-07-08 13:38:19 -07:00
Joe Ferris
259a38f206
Follow new capybara driver naming/module conventions
2012-07-08 12:31:18 -07:00
Joe Ferris
665e0fc729
Extract a Connection class for booting the server
2012-05-04 16:00:25 -04:00
Moreno Carullo
f09ba15637
Support compiling on windows.
2012-03-16 11:59:50 -04:00
Igor Zubkov
9eb8e55759
Fix capybara_webkit_builder specs
2012-02-17 11:27:00 -05:00
Matthew Mongeau
4a6b766b18
Allow ENV to change make, qmake, and spec options.
2012-02-17 11:27:00 -05:00
Hongli Lai (Phusion)
dc49e5f875
Forward webkit_server's stdout to Ruby's stdout.
...
This allows console.log() messages to be visible, and prevents
large numbers of console.log() calls from filling up webkit_server's pipe
which would block the process.
2011-08-15 19:04:40 +02:00
Joe Ferris
40804c06ba
Wait and timeout when looking for content
2011-04-14 10:16:56 -04:00
Joe Ferris
e28cc06cab
Fixed multiple browsers starting because before(:all) runs multiple times; fixed separate app servers starting for each example; added injectable class for debugging wire protocol
2011-03-11 11:19:59 -05:00
Joe Ferris
9e27f7d6f4
Initial gem
2011-02-26 18:29:01 -05:00
Joe Ferris
7451010c18
Added commented out integration specs
2011-02-26 17:02:00 -05:00
Joe Ferris
0745b1ee1c
Initial commit
2011-02-24 23:13:11 -05:00