diff options
author | azul <azul@riseup.net> | 2014-05-06 09:35:35 +0200 |
---|---|---|
committer | azul <azul@riseup.net> | 2014-05-06 09:35:35 +0200 |
commit | a4131d472329dc6416623691dcc956dc32793638 (patch) | |
tree | ba74769a2f0781ccbdd920f6e47f0de7cc7c7661 /test/integration | |
parent | 55fcdd3975baf6f6e167ab5164203ab9a2245186 (diff) | |
parent | f1c45566aaa06a1a4b2d2bb1f9b5abb4ab645dab (diff) |
Merge pull request #155 from azul/feature/simplify-download-btn
Feature/simplify download btn
Diffstat (limited to 'test/integration')
-rw-r--r-- | test/integration/os_detection_test.rb | 20 |
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 |