Created
January 15, 2013 00:29
-
-
Save gerhard/4534875 to your computer and use it in GitHub Desktop.
poltergeist failures
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
** Invoke default (first_time) | |
** Invoke compile (first_time) | |
** Execute compile | |
Compiling lib/capybara/poltergeist/client/agent.coffee | |
Compiling lib/capybara/poltergeist/client/browser.coffee | |
Compiling lib/capybara/poltergeist/client/connection.coffee | |
Compiling lib/capybara/poltergeist/client/main.coffee | |
Compiling lib/capybara/poltergeist/client/node.coffee | |
Compiling lib/capybara/poltergeist/client/web_page.coffee | |
** Invoke test (first_time) | |
** Execute test | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/bin/ruby -S rspec ./spec/integration/driver_spec.rb ./spec/integration/session_spec.rb ./spec/unit/browser_spec.rb ./spec/unit/client_spec.rb ./spec/unit/driver_spec.rb ./spec/unit/inspector_spec.rb | |
..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................FFFFFFFF................................................................................. | |
Failures: | |
1) Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by visiting a page directly | |
Failure/Error: @session.body.should include('Current host is http://capybara-testapp.heroku.com') | |
expected "<!DOCTYPE html><html><head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n <title>Heroku | No such app</title>\n <style type=\"text/css\"> \n body {\n background-color: white;\n color: #333333;\n font-family: Arial, sans-serif;\n margin: 0;\n padding: 36px;\n line-height: 18px;\n font-size: 14px; }\n\n .section {\n margin-bottom: 36px; }\n .section.friendly {\n color: #222222; }\n .section.friendly h1 {\n font-size: 26px;\n background-color: #dad8e4;\n padding: 18px 22px 15px 22px;\n margin: 0;\n overflow: hidden; }\n .section.friendly h1 strong {\n display: inline-block;\n float: left; }\n .section.friendly h1 small {\n display: inline-block;\n float: right;\n text-align: right;\n font-size: 18px;\n padding-top: 4px;\n color: #333333; }\n .section.friendly .article {\n border: 4px solid #dad8e4;\n padding: 24px 18px 18px 18px; }\n .section.friendly .article h3 {\n font-size: 20px;\n margin: 0 0 18px 0; }\n .section.friendly .article a {\n color: #6b6ceb; }\n .section.friendly .article a:visited {\n color: #1d1d3b; }\n .section.friendly .article p {\n font-size: 14px; }\n .section.friendly .article ul {\n list-style-type: square; }\n .section.original {\n background-color: #eeeeee;\n color: #444444; }\n .section.original h2 {\n background-color: #dddddd;\n margin: 0;\n padding: 18px 22px 18px 22px;\n font-size: 20px; }\n .section.original pre {\n margin: 0;\n padding: 18px 22px 18px 22px;\n overflow: auto;\n font-family: monaco, monospaced; }\n .section.original pre code {\n display: block;\n font-size: 11px;\n width: 100%; }\n </style>\n <script type=\"text/javascript\" async=\"\" src=\"http://www.google-analytics.com/ga.js\"></script><script type=\"text/javascript\">\nvar _gaq = _gaq || [];\n_gaq.push(['_setAccount', 'UA-2989055-7']);\n_gaq.push(['_setDomainName', '.heroku.com']);\n_gaq.push(['_trackPageview']);\n(function() {\nvar ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\nga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\nvar s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n})();\n\n</script>\n </head>\n <body>\n <div class=\"container\"> \n <div class=\"section friendly\"> \n <h1><strong>Heroku | No such app</strong></h1>\n <div class=\"article\"> \n <p>There is no app configured at that hostname.<br>Perhaps the app owner has renamed it, or you mistyped the URL.</p>\n </div> \n </div> \n </div>\n \n </body></html>" to include "Current host is http://capybara-testapp.heroku.com" | |
Diff: | |
@@ -1,2 +1,90 @@ | |
-Current host is http://capybara-testapp.heroku.com | |
+<!DOCTYPE html><html><head> | |
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
+ <title>Heroku | No such app</title> | |
+ <style type="text/css"> | |
+ body { | |
+ background-color: white; | |
+ color: #333333; | |
+ font-family: Arial, sans-serif; | |
+ margin: 0; | |
+ padding: 36px; | |
+ line-height: 18px; | |
+ font-size: 14px; } | |
+ | |
+ .section { | |
+ margin-bottom: 36px; } | |
+ .section.friendly { | |
+ color: #222222; } | |
+ .section.friendly h1 { | |
+ font-size: 26px; | |
+ background-color: #dad8e4; | |
+ padding: 18px 22px 15px 22px; | |
+ margin: 0; | |
+ overflow: hidden; } | |
+ .section.friendly h1 strong { | |
+ display: inline-block; | |
+ float: left; } | |
+ .section.friendly h1 small { | |
+ display: inline-block; | |
+ float: right; | |
+ text-align: right; | |
+ font-size: 18px; | |
+ padding-top: 4px; | |
+ color: #333333; } | |
+ .section.friendly .article { | |
+ border: 4px solid #dad8e4; | |
+ padding: 24px 18px 18px 18px; } | |
+ .section.friendly .article h3 { | |
+ font-size: 20px; | |
+ margin: 0 0 18px 0; } | |
+ .section.friendly .article a { | |
+ color: #6b6ceb; } | |
+ .section.friendly .article a:visited { | |
+ color: #1d1d3b; } | |
+ .section.friendly .article p { | |
+ font-size: 14px; } | |
+ .section.friendly .article ul { | |
+ list-style-type: square; } | |
+ .section.original { | |
+ background-color: #eeeeee; | |
+ color: #444444; } | |
+ .section.original h2 { | |
+ background-color: #dddddd; | |
+ margin: 0; | |
+ padding: 18px 22px 18px 22px; | |
+ font-size: 20px; } | |
+ .section.original pre { | |
+ margin: 0; | |
+ padding: 18px 22px 18px 22px; | |
+ overflow: auto; | |
+ font-family: monaco, monospaced; } | |
+ .section.original pre code { | |
+ display: block; | |
+ font-size: 11px; | |
+ width: 100%; } | |
+ </style> | |
+ <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script type="text/javascript"> | |
+var _gaq = _gaq || []; | |
+_gaq.push(['_setAccount', 'UA-2989055-7']); | |
+_gaq.push(['_setDomainName', '.heroku.com']); | |
+_gaq.push(['_trackPageview']); | |
+(function() { | |
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
+})(); | |
+ | |
+</script> | |
+ </head> | |
+ <body> | |
+ <div class="container"> | |
+ <div class="section friendly"> | |
+ <h1><strong>Heroku | No such app</strong></h1> | |
+ <div class="article"> | |
+ <p>There is no app configured at that hostname.<br>Perhaps the app owner has renamed it, or you mistyped the URL.</p> | |
+ </div> | |
+ </div> | |
+ </div> | |
+ | |
+ </body></html> | |
Shared Example Group: "current_host" called from | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/fail_with.rb:33:in `fail_with' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/handler.rb:31:in `handle_matcher' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/syntax.rb:53:in `should' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:9:in `block (3 levels) in <top (required)>' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `instance_eval' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:254:in `with_around_each_hooks' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:111:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:388:in `block in run_examples' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `run_examples' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:369:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/reporter.rb:34:in `report' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:25:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:80:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:17:in `block in autorun' | |
2) Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host returns to the app host when visiting a relative url | |
Failure/Error: @session.body.should include('Current host is http://capybara-testapp.heroku.com') | |
expected "<!DOCTYPE html><html><head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n <title>Heroku | No such app</title>\n <style type=\"text/css\"> \n body {\n background-color: white;\n color: #333333;\n font-family: Arial, sans-serif;\n margin: 0;\n padding: 36px;\n line-height: 18px;\n font-size: 14px; }\n\n .section {\n margin-bottom: 36px; }\n .section.friendly {\n color: #222222; }\n .section.friendly h1 {\n font-size: 26px;\n background-color: #dad8e4;\n padding: 18px 22px 15px 22px;\n margin: 0;\n overflow: hidden; }\n .section.friendly h1 strong {\n display: inline-block;\n float: left; }\n .section.friendly h1 small {\n display: inline-block;\n float: right;\n text-align: right;\n font-size: 18px;\n padding-top: 4px;\n color: #333333; }\n .section.friendly .article {\n border: 4px solid #dad8e4;\n padding: 24px 18px 18px 18px; }\n .section.friendly .article h3 {\n font-size: 20px;\n margin: 0 0 18px 0; }\n .section.friendly .article a {\n color: #6b6ceb; }\n .section.friendly .article a:visited {\n color: #1d1d3b; }\n .section.friendly .article p {\n font-size: 14px; }\n .section.friendly .article ul {\n list-style-type: square; }\n .section.original {\n background-color: #eeeeee;\n color: #444444; }\n .section.original h2 {\n background-color: #dddddd;\n margin: 0;\n padding: 18px 22px 18px 22px;\n font-size: 20px; }\n .section.original pre {\n margin: 0;\n padding: 18px 22px 18px 22px;\n overflow: auto;\n font-family: monaco, monospaced; }\n .section.original pre code {\n display: block;\n font-size: 11px;\n width: 100%; }\n </style>\n <script type=\"text/javascript\" async=\"\" src=\"http://www.google-analytics.com/ga.js\"></script><script type=\"text/javascript\">\nvar _gaq = _gaq || [];\n_gaq.push(['_setAccount', 'UA-2989055-7']);\n_gaq.push(['_setDomainName', '.heroku.com']);\n_gaq.push(['_trackPageview']);\n(function() {\nvar ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\nga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\nvar s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n})();\n\n</script>\n </head>\n <body>\n <div class=\"container\"> \n <div class=\"section friendly\"> \n <h1><strong>Heroku | No such app</strong></h1>\n <div class=\"article\"> \n <p>There is no app configured at that hostname.<br>Perhaps the app owner has renamed it, or you mistyped the URL.</p>\n </div> \n </div> \n </div>\n \n </body></html>" to include "Current host is http://capybara-testapp.heroku.com" | |
Diff: | |
@@ -1,2 +1,90 @@ | |
-Current host is http://capybara-testapp.heroku.com | |
+<!DOCTYPE html><html><head> | |
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
+ <title>Heroku | No such app</title> | |
+ <style type="text/css"> | |
+ body { | |
+ background-color: white; | |
+ color: #333333; | |
+ font-family: Arial, sans-serif; | |
+ margin: 0; | |
+ padding: 36px; | |
+ line-height: 18px; | |
+ font-size: 14px; } | |
+ | |
+ .section { | |
+ margin-bottom: 36px; } | |
+ .section.friendly { | |
+ color: #222222; } | |
+ .section.friendly h1 { | |
+ font-size: 26px; | |
+ background-color: #dad8e4; | |
+ padding: 18px 22px 15px 22px; | |
+ margin: 0; | |
+ overflow: hidden; } | |
+ .section.friendly h1 strong { | |
+ display: inline-block; | |
+ float: left; } | |
+ .section.friendly h1 small { | |
+ display: inline-block; | |
+ float: right; | |
+ text-align: right; | |
+ font-size: 18px; | |
+ padding-top: 4px; | |
+ color: #333333; } | |
+ .section.friendly .article { | |
+ border: 4px solid #dad8e4; | |
+ padding: 24px 18px 18px 18px; } | |
+ .section.friendly .article h3 { | |
+ font-size: 20px; | |
+ margin: 0 0 18px 0; } | |
+ .section.friendly .article a { | |
+ color: #6b6ceb; } | |
+ .section.friendly .article a:visited { | |
+ color: #1d1d3b; } | |
+ .section.friendly .article p { | |
+ font-size: 14px; } | |
+ .section.friendly .article ul { | |
+ list-style-type: square; } | |
+ .section.original { | |
+ background-color: #eeeeee; | |
+ color: #444444; } | |
+ .section.original h2 { | |
+ background-color: #dddddd; | |
+ margin: 0; | |
+ padding: 18px 22px 18px 22px; | |
+ font-size: 20px; } | |
+ .section.original pre { | |
+ margin: 0; | |
+ padding: 18px 22px 18px 22px; | |
+ overflow: auto; | |
+ font-family: monaco, monospaced; } | |
+ .section.original pre code { | |
+ display: block; | |
+ font-size: 11px; | |
+ width: 100%; } | |
+ </style> | |
+ <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script type="text/javascript"> | |
+var _gaq = _gaq || []; | |
+_gaq.push(['_setAccount', 'UA-2989055-7']); | |
+_gaq.push(['_setDomainName', '.heroku.com']); | |
+_gaq.push(['_trackPageview']); | |
+(function() { | |
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
+})(); | |
+ | |
+</script> | |
+ </head> | |
+ <body> | |
+ <div class="container"> | |
+ <div class="section friendly"> | |
+ <h1><strong>Heroku | No such app</strong></h1> | |
+ <div class="article"> | |
+ <p>There is no app configured at that hostname.<br>Perhaps the app owner has renamed it, or you mistyped the URL.</p> | |
+ </div> | |
+ </div> | |
+ </div> | |
+ | |
+ </body></html> | |
Shared Example Group: "current_host" called from | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/fail_with.rb:33:in `fail_with' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/handler.rb:31:in `handle_matcher' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/syntax.rb:53:in `should' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:16:in `block (3 levels) in <top (required)>' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `instance_eval' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:254:in `with_around_each_hooks' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:111:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:388:in `block in run_examples' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `run_examples' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:369:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/reporter.rb:34:in `report' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:25:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:80:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:17:in `block in autorun' | |
3) Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by setting Capybara.app_host | |
Failure/Error: @session.body.should include('Current host is http://capybara-testapp.heroku.com') | |
expected "<!DOCTYPE html><html><head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n <title>Heroku | No such app</title>\n <style type=\"text/css\"> \n body {\n background-color: white;\n color: #333333;\n font-family: Arial, sans-serif;\n margin: 0;\n padding: 36px;\n line-height: 18px;\n font-size: 14px; }\n\n .section {\n margin-bottom: 36px; }\n .section.friendly {\n color: #222222; }\n .section.friendly h1 {\n font-size: 26px;\n background-color: #dad8e4;\n padding: 18px 22px 15px 22px;\n margin: 0;\n overflow: hidden; }\n .section.friendly h1 strong {\n display: inline-block;\n float: left; }\n .section.friendly h1 small {\n display: inline-block;\n float: right;\n text-align: right;\n font-size: 18px;\n padding-top: 4px;\n color: #333333; }\n .section.friendly .article {\n border: 4px solid #dad8e4;\n padding: 24px 18px 18px 18px; }\n .section.friendly .article h3 {\n font-size: 20px;\n margin: 0 0 18px 0; }\n .section.friendly .article a {\n color: #6b6ceb; }\n .section.friendly .article a:visited {\n color: #1d1d3b; }\n .section.friendly .article p {\n font-size: 14px; }\n .section.friendly .article ul {\n list-style-type: square; }\n .section.original {\n background-color: #eeeeee;\n color: #444444; }\n .section.original h2 {\n background-color: #dddddd;\n margin: 0;\n padding: 18px 22px 18px 22px;\n font-size: 20px; }\n .section.original pre {\n margin: 0;\n padding: 18px 22px 18px 22px;\n overflow: auto;\n font-family: monaco, monospaced; }\n .section.original pre code {\n display: block;\n font-size: 11px;\n width: 100%; }\n </style>\n <script type=\"text/javascript\" async=\"\" src=\"http://www.google-analytics.com/ga.js\"></script><script type=\"text/javascript\">\nvar _gaq = _gaq || [];\n_gaq.push(['_setAccount', 'UA-2989055-7']);\n_gaq.push(['_setDomainName', '.heroku.com']);\n_gaq.push(['_trackPageview']);\n(function() {\nvar ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\nga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\nvar s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n})();\n\n</script>\n </head>\n <body>\n <div class=\"container\"> \n <div class=\"section friendly\"> \n <h1><strong>Heroku | No such app</strong></h1>\n <div class=\"article\"> \n <p>There is no app configured at that hostname.<br>Perhaps the app owner has renamed it, or you mistyped the URL.</p>\n </div> \n </div> \n </div>\n \n </body></html>" to include "Current host is http://capybara-testapp.heroku.com" | |
Diff: | |
@@ -1,2 +1,90 @@ | |
-Current host is http://capybara-testapp.heroku.com | |
+<!DOCTYPE html><html><head> | |
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
+ <title>Heroku | No such app</title> | |
+ <style type="text/css"> | |
+ body { | |
+ background-color: white; | |
+ color: #333333; | |
+ font-family: Arial, sans-serif; | |
+ margin: 0; | |
+ padding: 36px; | |
+ line-height: 18px; | |
+ font-size: 14px; } | |
+ | |
+ .section { | |
+ margin-bottom: 36px; } | |
+ .section.friendly { | |
+ color: #222222; } | |
+ .section.friendly h1 { | |
+ font-size: 26px; | |
+ background-color: #dad8e4; | |
+ padding: 18px 22px 15px 22px; | |
+ margin: 0; | |
+ overflow: hidden; } | |
+ .section.friendly h1 strong { | |
+ display: inline-block; | |
+ float: left; } | |
+ .section.friendly h1 small { | |
+ display: inline-block; | |
+ float: right; | |
+ text-align: right; | |
+ font-size: 18px; | |
+ padding-top: 4px; | |
+ color: #333333; } | |
+ .section.friendly .article { | |
+ border: 4px solid #dad8e4; | |
+ padding: 24px 18px 18px 18px; } | |
+ .section.friendly .article h3 { | |
+ font-size: 20px; | |
+ margin: 0 0 18px 0; } | |
+ .section.friendly .article a { | |
+ color: #6b6ceb; } | |
+ .section.friendly .article a:visited { | |
+ color: #1d1d3b; } | |
+ .section.friendly .article p { | |
+ font-size: 14px; } | |
+ .section.friendly .article ul { | |
+ list-style-type: square; } | |
+ .section.original { | |
+ background-color: #eeeeee; | |
+ color: #444444; } | |
+ .section.original h2 { | |
+ background-color: #dddddd; | |
+ margin: 0; | |
+ padding: 18px 22px 18px 22px; | |
+ font-size: 20px; } | |
+ .section.original pre { | |
+ margin: 0; | |
+ padding: 18px 22px 18px 22px; | |
+ overflow: auto; | |
+ font-family: monaco, monospaced; } | |
+ .section.original pre code { | |
+ display: block; | |
+ font-size: 11px; | |
+ width: 100%; } | |
+ </style> | |
+ <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script type="text/javascript"> | |
+var _gaq = _gaq || []; | |
+_gaq.push(['_setAccount', 'UA-2989055-7']); | |
+_gaq.push(['_setDomainName', '.heroku.com']); | |
+_gaq.push(['_trackPageview']); | |
+(function() { | |
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
+})(); | |
+ | |
+</script> | |
+ </head> | |
+ <body> | |
+ <div class="container"> | |
+ <div class="section friendly"> | |
+ <h1><strong>Heroku | No such app</strong></h1> | |
+ <div class="article"> | |
+ <p>There is no app configured at that hostname.<br>Perhaps the app owner has renamed it, or you mistyped the URL.</p> | |
+ </div> | |
+ </div> | |
+ </div> | |
+ | |
+ </body></html> | |
Shared Example Group: "current_host" called from | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/fail_with.rb:33:in `fail_with' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/handler.rb:31:in `handle_matcher' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/syntax.rb:53:in `should' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:26:in `block (3 levels) in <top (required)>' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `instance_eval' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:254:in `with_around_each_hooks' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:111:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:388:in `block in run_examples' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `run_examples' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:369:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/reporter.rb:34:in `report' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:25:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:80:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:17:in `block in autorun' | |
4) Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is unaffected by following a relative link | |
Failure/Error: @session.click_link('Relative Host') | |
Capybara::ElementNotFound: | |
no link with title, id or text 'Relative Host' found | |
Shared Example Group: "current_host" called from | |
# (eval):2:in `click_link' | |
5) Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by following an absolute link | |
Failure/Error: @session.click_link('Absolute Host') | |
Capybara::ElementNotFound: | |
no link with title, id or text 'Absolute Host' found | |
Shared Example Group: "current_host" called from | |
# (eval):2:in `click_link' | |
6) Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is unaffected by posting through a relative form | |
Failure/Error: @session.click_button('Relative Host') | |
Capybara::ElementNotFound: | |
no button with value or id or text 'Relative Host' found | |
Shared Example Group: "current_host" called from | |
# (eval):2:in `click_button' | |
7) Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by posting through an absolute form | |
Failure/Error: @session.click_button('Absolute Host') | |
Capybara::ElementNotFound: | |
no button with value or id or text 'Absolute Host' found | |
Shared Example Group: "current_host" called from | |
# (eval):2:in `click_button' | |
8) Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by following a redirect | |
Failure/Error: @session.body.should include('Current host is https://capybara-testapp.heroku.com') | |
expected "<!DOCTYPE html><html><head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">\n <title>Heroku | No such app</title>\n <style type=\"text/css\"> \n body {\n background-color: white;\n color: #333333;\n font-family: Arial, sans-serif;\n margin: 0;\n padding: 36px;\n line-height: 18px;\n font-size: 14px; }\n\n .section {\n margin-bottom: 36px; }\n .section.friendly {\n color: #222222; }\n .section.friendly h1 {\n font-size: 26px;\n background-color: #dad8e4;\n padding: 18px 22px 15px 22px;\n margin: 0;\n overflow: hidden; }\n .section.friendly h1 strong {\n display: inline-block;\n float: left; }\n .section.friendly h1 small {\n display: inline-block;\n float: right;\n text-align: right;\n font-size: 18px;\n padding-top: 4px;\n color: #333333; }\n .section.friendly .article {\n border: 4px solid #dad8e4;\n padding: 24px 18px 18px 18px; }\n .section.friendly .article h3 {\n font-size: 20px;\n margin: 0 0 18px 0; }\n .section.friendly .article a {\n color: #6b6ceb; }\n .section.friendly .article a:visited {\n color: #1d1d3b; }\n .section.friendly .article p {\n font-size: 14px; }\n .section.friendly .article ul {\n list-style-type: square; }\n .section.original {\n background-color: #eeeeee;\n color: #444444; }\n .section.original h2 {\n background-color: #dddddd;\n margin: 0;\n padding: 18px 22px 18px 22px;\n font-size: 20px; }\n .section.original pre {\n margin: 0;\n padding: 18px 22px 18px 22px;\n overflow: auto;\n font-family: monaco, monospaced; }\n .section.original pre code {\n display: block;\n font-size: 11px;\n width: 100%; }\n </style>\n <script type=\"text/javascript\" async=\"\" src=\"http://www.google-analytics.com/ga.js\"></script><script type=\"text/javascript\">\nvar _gaq = _gaq || [];\n_gaq.push(['_setAccount', 'UA-2989055-7']);\n_gaq.push(['_setDomainName', '.heroku.com']);\n_gaq.push(['_trackPageview']);\n(function() {\nvar ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;\nga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';\nvar s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);\n})();\n\n</script>\n </head>\n <body>\n <div class=\"container\"> \n <div class=\"section friendly\"> \n <h1><strong>Heroku | No such app</strong></h1>\n <div class=\"article\"> \n <p>There is no app configured at that hostname.<br>Perhaps the app owner has renamed it, or you mistyped the URL.</p>\n </div> \n </div> \n </div>\n \n </body></html>" to include "Current host is https://capybara-testapp.heroku.com" | |
Diff: | |
@@ -1,2 +1,90 @@ | |
-Current host is https://capybara-testapp.heroku.com | |
+<!DOCTYPE html><html><head> | |
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
+ <title>Heroku | No such app</title> | |
+ <style type="text/css"> | |
+ body { | |
+ background-color: white; | |
+ color: #333333; | |
+ font-family: Arial, sans-serif; | |
+ margin: 0; | |
+ padding: 36px; | |
+ line-height: 18px; | |
+ font-size: 14px; } | |
+ | |
+ .section { | |
+ margin-bottom: 36px; } | |
+ .section.friendly { | |
+ color: #222222; } | |
+ .section.friendly h1 { | |
+ font-size: 26px; | |
+ background-color: #dad8e4; | |
+ padding: 18px 22px 15px 22px; | |
+ margin: 0; | |
+ overflow: hidden; } | |
+ .section.friendly h1 strong { | |
+ display: inline-block; | |
+ float: left; } | |
+ .section.friendly h1 small { | |
+ display: inline-block; | |
+ float: right; | |
+ text-align: right; | |
+ font-size: 18px; | |
+ padding-top: 4px; | |
+ color: #333333; } | |
+ .section.friendly .article { | |
+ border: 4px solid #dad8e4; | |
+ padding: 24px 18px 18px 18px; } | |
+ .section.friendly .article h3 { | |
+ font-size: 20px; | |
+ margin: 0 0 18px 0; } | |
+ .section.friendly .article a { | |
+ color: #6b6ceb; } | |
+ .section.friendly .article a:visited { | |
+ color: #1d1d3b; } | |
+ .section.friendly .article p { | |
+ font-size: 14px; } | |
+ .section.friendly .article ul { | |
+ list-style-type: square; } | |
+ .section.original { | |
+ background-color: #eeeeee; | |
+ color: #444444; } | |
+ .section.original h2 { | |
+ background-color: #dddddd; | |
+ margin: 0; | |
+ padding: 18px 22px 18px 22px; | |
+ font-size: 20px; } | |
+ .section.original pre { | |
+ margin: 0; | |
+ padding: 18px 22px 18px 22px; | |
+ overflow: auto; | |
+ font-family: monaco, monospaced; } | |
+ .section.original pre code { | |
+ display: block; | |
+ font-size: 11px; | |
+ width: 100%; } | |
+ </style> | |
+ <script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script type="text/javascript"> | |
+var _gaq = _gaq || []; | |
+_gaq.push(['_setAccount', 'UA-2989055-7']); | |
+_gaq.push(['_setDomainName', '.heroku.com']); | |
+_gaq.push(['_trackPageview']); | |
+(function() { | |
+var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; | |
+ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; | |
+var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); | |
+})(); | |
+ | |
+</script> | |
+ </head> | |
+ <body> | |
+ <div class="container"> | |
+ <div class="section friendly"> | |
+ <h1><strong>Heroku | No such app</strong></h1> | |
+ <div class="article"> | |
+ <p>There is no app configured at that hostname.<br>Perhaps the app owner has renamed it, or you mistyped the URL.</p> | |
+ </div> | |
+ </div> | |
+ </div> | |
+ | |
+ </body></html> | |
Shared Example Group: "current_host" called from | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/fail_with.rb:33:in `fail_with' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/handler.rb:31:in `handle_matcher' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/expectations/syntax.rb:53:in `should' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:64:in `block (3 levels) in <top (required)>' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `instance_eval' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:114:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:254:in `with_around_each_hooks' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example.rb:111:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:388:in `block in run_examples' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:384:in `run_examples' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:369:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/example_group.rb:370:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `map' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:28:in `block in run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/reporter.rb:34:in `report' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/command_line.rb:25:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:80:in `run' | |
# /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/runner.rb:17:in `block in autorun' | |
Finished in 1 minute 0.19739 seconds | |
599 examples, 8 failures | |
Failed examples: | |
rspec /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:7 # Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by visiting a page directly | |
rspec /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:13 # Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host returns to the app host when visiting a relative url | |
rspec /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:23 # Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by setting Capybara.app_host | |
rspec /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:34 # Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is unaffected by following a relative link | |
rspec /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:41 # Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by following an absolute link | |
rspec /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:48 # Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is unaffected by posting through a relative form | |
rspec /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:55 # Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by posting through an absolute form | |
rspec /Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/capybara-1.1.4/lib/capybara/spec/session/current_host_spec.rb:62 # Capybara::Session with poltergeist driver it should behave like session it should behave like current_host #current_host is affected by following a redirect | |
rake aborted! | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/bin/ruby -S rspec ./spec/integration/driver_spec.rb ./spec/integration/session_spec.rb ./spec/unit/browser_spec.rb ./spec/unit/client_spec.rb ./spec/unit/driver_spec.rb ./spec/unit/inspector_spec.rb failed | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/rake_task.rb:156:in `run_task' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/rake_task.rb:124:in `block (2 levels) in initialize' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/file_utils_ext.rb:61:in `verbose' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rspec-core-2.12.2/lib/rspec/core/rake_task.rb:122:in `block in initialize' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:228:in `call' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:228:in `block in execute' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:223:in `each' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:223:in `execute' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:166:in `block in invoke_with_call_chain' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:159:in `invoke_with_call_chain' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:187:in `block in invoke_prerequisites' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:185:in `each' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:185:in `invoke_prerequisites' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:165:in `block in invoke_with_call_chain' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:159:in `invoke_with_call_chain' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/task.rb:152:in `invoke' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:143:in `invoke_task' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:101:in `block (2 levels) in top_level' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:101:in `each' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:101:in `block in top_level' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:110:in `run_with_threads' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:95:in `top_level' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:73:in `block in run' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:160:in `standard_exception_handling' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/lib/rake/application.rb:70:in `run' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/rake-0.9.6/bin/rake:37:in `<top (required)>' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/bin/rake:23:in `load' | |
/Users/gerhard/.rbenv/versions/1.9.3-p194/bin/rake:23:in `<main>' | |
Tasks: TOP => default => test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment