diff options
author | gebele <gebele@in-silico.ch> | 2012-09-10 10:56:22 +0200 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2012-09-10 10:56:22 +0200 |
commit | b668ece36363abf042af31187e30cf9343cc8c81 (patch) | |
tree | c42049f6fc0895b5fa88572fcbd68ca2f35620d0 | |
parent | e76ec3dec5beccf02c02202d4b722257eec453ec (diff) |
fixed syntax
-rw-r--r-- | _posts/2012-08-27-testing-website-with-capybara-webkit-and-testunit.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_posts/2012-08-27-testing-website-with-capybara-webkit-and-testunit.md b/_posts/2012-08-27-testing-website-with-capybara-webkit-and-testunit.md index 2de1795..e254c86 100644 --- a/_posts/2012-08-27-testing-website-with-capybara-webkit-and-testunit.md +++ b/_posts/2012-08-27-testing-website-with-capybara-webkit-and-testunit.md @@ -12,7 +12,8 @@ tags: [headless brwoser, testing] You need to install capybara and capybara-webkit as gem. Capybara-webkit requires two system libraries **qt4** and **xvfb**. To install execute: - `apt-get install gt4-dev-tools xvfb` + `apt-get install qt4-dev-tools`<br> + `apt-get install xvfb` as sudo. This works for Debian. @@ -73,7 +74,6 @@ You can integrate this command to your test. For the following example `export ' end def test_99_kill - Capybara.reset! `pidof Xvfb|xargs kill` end |