summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-04-30 09:21:18 +0200
committerAzul <azul@leap.se>2014-04-30 09:21:18 +0200
commit71814734c0a0f2e384f2e72e4d7c70aea04c01ab (patch)
tree42bbf2141fa1fa449e20b3d5c9c3896cf8781005 /test/integration
parent5b3d92e40000e14c913c52227b5a717201cc5074 (diff)
remove outdated os detection test
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/os_detection_test.rb20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/integration/os_detection_test.rb b/test/integration/os_detection_test.rb
deleted file mode 100644
index 6d9a648..0000000
--- a/test/integration/os_detection_test.rb
+++ /dev/null
@@ -1,20 +0,0 @@
-require 'test_helper'
-
-class OsDetectionTest < BrowserIntegrationTest
-
- test "old windows shows deactivated download" do
- page.driver.add_headers "User-Agent" => "Win98"
- visit '/'
- assert_selector "html.oldwin"
- assert has_text? "not available"
- end
-
- test "android shows android download" do
- page.driver.add_headers "User-Agent" => "Android"
- visit '/'
- assert_selector "html.android"
- assert has_no_text? "not available"
- assert_selector "small", text: "Android"
- end
-
-end