summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-02-06 12:08:15 +0100
committerAzul <azul@leap.se>2014-02-06 13:05:55 +0100
commite96d21ed7d2fce1d07fc381200d31919a2d93299 (patch)
treee55983a2e7c1b64659f12b2e592c02bed5048d36 /users
parentc32b55caa141d02dab65df16bc3f2149c04603e5 (diff)
integration test with en-EN language
Tests fail on machines that default to other available languages. Also move setting capybara driver to be javascript driver into the BrowserIntegrationTest.
Diffstat (limited to 'users')
-rw-r--r--users/test/integration/browser/account_test.rb4
-rw-r--r--users/test/integration/browser/session_test.rb1
2 files changed, 0 insertions, 5 deletions
diff --git a/users/test/integration/browser/account_test.rb b/users/test/integration/browser/account_test.rb
index 3785b72..a5677ad 100644
--- a/users/test/integration/browser/account_test.rb
+++ b/users/test/integration/browser/account_test.rb
@@ -2,10 +2,6 @@ require 'test_helper'
class AccountTest < BrowserIntegrationTest
- setup do
- Capybara.current_driver = Capybara.javascript_driver
- end
-
teardown do
Identity.destroy_all_disabled
end
diff --git a/users/test/integration/browser/session_test.rb b/users/test/integration/browser/session_test.rb
index bb4e8c9..3a41b3a 100644
--- a/users/test/integration/browser/session_test.rb
+++ b/users/test/integration/browser/session_test.rb
@@ -3,7 +3,6 @@ require 'test_helper'
class SessionTest < BrowserIntegrationTest
setup do
- Capybara.current_driver = Capybara.javascript_driver
@username, password = submit_signup
end