summaryrefslogtreecommitdiff
path: root/test/integration/key_discovery_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/key_discovery_test.rb')
-rw-r--r--test/integration/key_discovery_test.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/integration/key_discovery_test.rb b/test/integration/key_discovery_test.rb
deleted file mode 100644
index 2a38a78..0000000
--- a/test/integration/key_discovery_test.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-require 'test_helper'
-
-# This is not really a browser test - key discovery is used from bitmask.
-# However we need to make sure to test the full rack stack to replicate
-# exception handling.
-class KeyDiscoveryTest < RackStackTest
- include Capybara::DSL
-
- setup do
- # make sure we test the whole stack...
- Capybara.current_driver = Capybara.javascript_driver
- end
-
- teardown do
- # Revert Capybara.current_driver to Capybara.default_driver
- Capybara.use_default_driver
- end
-
- def test_404_on_non_existing_user
- visit '/key/asjkholifweatg'
- assert_equal 404, status_code
- end
-end