Created
June 8, 2013 15:00
-
-
Save mjansen401/5735432 to your computer and use it in GitHub Desktop.
SFW spec failures, Ruby 1.9.2-p180
This file contains 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
bundle exec rake spec | |
/Users/mike/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec ./spec/favicon_spec.rb ./spec/integration_spec.rb ./spec/page_spec.rb ./spec/server_helpers_spec.rb ./spec/server_spec.rb ./spec/stores/couch_spec.rb | |
.FFFFFFFFFFFFFFFFFFFFF......F..FFFF.......FFFF.........................F[{"type"=>"paragraph", "id"=>"435d07cf9bf34a70", "text"=>"Here we list neighborhood pages with those most recently changed listed first. See also [[Local Changes]]."}, {"type"=>"activity", "id"=>"e9e9f102158e1382"}] | |
F.*........... | |
Pending: | |
GET /recent-changes.json the JSON does not show page with journal but without date | |
# No reason given | |
# ./spec/server_spec.rb:195 | |
Failures: | |
1) loading a page should load the welcome page | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:12:in `block (2 levels) in <top (required)>' | |
2) loading a page should copy welcome-visitors from the default-data to data | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:18:in `block (2 levels) in <top (required)>' | |
3) loading a page should load multiple pages at once | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:24:in `block (2 levels) in <top (required)>' | |
4) loading a page should load remote page | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:30:in `block (2 levels) in <top (required)>' | |
5) loading a page should load a page from plugins | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:35:in `block (2 levels) in <top (required)>' | |
6) edit paragraph in place should turn into a text area, showing wikitext when double-clicking | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:110:in `block (2 levels) in <top (required)>' | |
7) edit paragraph in place should save changes to wiki text when unfocused | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:110:in `block (2 levels) in <top (required)>' | |
8) edit paragraph in place should record edit in the journal | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:110:in `block (2 levels) in <top (required)>' | |
9) completely empty (but valid json) page should have a title of empty | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:158:in `block (2 levels) in <top (required)>' | |
10) completely empty (but valid json) page should have an empty story | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:158:in `block (2 levels) in <top (required)>' | |
11) completely empty (but valid json) page should have an empty journal | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:158:in `block (2 levels) in <top (required)>' | |
12) moving paragraphs should move paragraph 1 past paragraph 2 | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:193:in `block (2 levels) in <top (required)>' | |
13) moving paragraphs should add a move to the journal | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:193:in `block (2 levels) in <top (required)>' | |
14) moving paragraphs between pages on different servers should move the paragraph and add provenance to the journal | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:215:in `block (2 levels) in <top (required)>' | |
15) moving paragraphs between pages on different servers should move the paragraph from one to another | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:215:in `block (2 levels) in <top (required)>' | |
16) navigating between pages should open internal links by adding a new wiki page to the web page | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:269:in `block (2 levels) in <top (required)>' | |
17) navigating between pages should remove added pages when the browser's back button is pressed | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:269:in `block (2 levels) in <top (required)>' | |
18) should retrieve favicon should create an image when no other image is present | |
Failure/Error: Net::HTTP.get_response URI.parse(page.driver.rack_server.url("/favicon.png")) | |
NoMethodError: | |
undefined method `rack_server' for #<Capybara::Selenium::Driver:0x007fc62bf167d0> | |
# ./spec/integration_spec.rb:300:in `favicon_response' | |
# ./spec/integration_spec.rb:309:in `block (2 levels) in <top (required)>' | |
19) should retrieve favicon should return the local image when it exists | |
Failure/Error: Net::HTTP.get_response URI.parse(page.driver.rack_server.url("/favicon.png")) | |
NoMethodError: | |
undefined method `rack_server' for #<Capybara::Selenium::Driver:0x007fc62bf167d0> | |
# ./spec/integration_spec.rb:300:in `favicon_response' | |
# ./spec/integration_spec.rb:316:in `block (2 levels) in <top (required)>' | |
20) viewing journal should highlight a paragraph when hovering over journal entry | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:335:in `block (2 levels) in <top (required)>' | |
21) viewing journal should highlight all paragraphs with all the same JSON id | |
Failure/Error: visit_without_wait_for_ajax(*args) | |
ArgumentError: | |
unknown option: {:resynchronize=>true} | |
# ./spec/integration_spec.rb:86:in `visit_with_wait_for_ajax' | |
# ./spec/integration_spec.rb:351:in `block (2 levels) in <top (required)>' | |
22) Page when Page directories have been set get when page does not exist creates a factory page | |
Failure/Error: foo_data = @page.get('foo') | |
NoMethodError: | |
undefined method `halt' for #<Page:0x007fc62bf0b4c0> | |
# ./server/sinatra/page.rb:45:in `get' | |
# ./spec/page_spec.rb:78:in `block (5 levels) in <top (required)>' | |
23) Server helpers#resolve_links should convert wikilinks to slug links | |
Failure/Error: helpers.resolve_links('[[My Page]]').should == '<a class="internal" href="/my-page.html" data-page-name="my-page">My Page</a>' | |
expected: "<a class=\"internal\" href=\"/my-page.html\" data-page-name=\"my-page\">My Page</a>" | |
got: "<a class=\"internal\" href=\"/my-page.html\" data-page-name=\"my-page\" >My Page</a>" (using ==) | |
# ./spec/server_helpers_spec.rb:18:in `block (3 levels) in <top (required)>' | |
24) Server helpers#resolve_links should leave dashes in the name as dashes in the slug | |
Failure/Error: helpers.resolve_links('[[My-Page]]').should == '<a class="internal" href="/my-page.html" data-page-name="my-page">My-Page</a>' | |
expected: "<a class=\"internal\" href=\"/my-page.html\" data-page-name=\"my-page\">My-Page</a>" | |
got: "<a class=\"internal\" href=\"/my-page.html\" data-page-name=\"my-page\" >My-Page</a>" (using ==) | |
# ./spec/server_helpers_spec.rb:22:in `block (3 levels) in <top (required)>' | |
25) Server helpers#resolve_links should create a dash for each whitespace character | |
Failure/Error: helpers.resolve_links('[[ My Page ]]').should == '<a class="internal" href="/---my---page---.html" data-page-name="---my---page---"> My Page </a>' | |
expected: "<a class=\"internal\" href=\"/---my---page---.html\" data-page-name=\"---my---page---\"> My Page </a>" | |
got: "<a class=\"internal\" href=\"/---my---page---.html\" data-page-name=\"---my---page---\" > My Page </a>" (using ==) | |
# ./spec/server_helpers_spec.rb:26:in `block (3 levels) in <top (required)>' | |
26) Server helpers#resolve_links should remove non-slug characters | |
Failure/Error: helpers.resolve_links('[[My Page Røøøx!!!]]').should == '<a class="internal" href="/my-page-rx.html" data-page-name="my-page-rx">My Page Røøøx!!!</a>' | |
expected: "<a class=\"internal\" href=\"/my-page-rx.html\" data-page-name=\"my-page-rx\">My Page Røøøx!!!</a>" | |
got: "<a class=\"internal\" href=\"/my-page-rx.html\" data-page-name=\"my-page-rx\" >My Page Røøøx!!!</a>" (using ==) | |
# ./spec/server_helpers_spec.rb:30:in `block (3 levels) in <top (required)>' | |
27) GET / behaves like Welcome as HTML renders the page | |
Failure/Error: last_response.status.should == 200 | |
expected: 200 | |
got: 302 (using ==) | |
Shared Example Group: "Welcome as HTML" called from ./spec/server_spec.rb:37 | |
# ./spec/server_spec.rb:12:in `block (2 levels) in <top (required)>' | |
28) GET / behaves like Welcome as HTML has a section with class 'main' | |
Failure/Error: @body.should match(/<section class='main'>/) | |
expected "" to match /<section class='main'>/ | |
Shared Example Group: "Welcome as HTML" called from ./spec/server_spec.rb:37 | |
# ./spec/server_spec.rb:16:in `block (2 levels) in <top (required)>' | |
29) GET / behaves like Welcome as HTML has a div with class 'page' and id 'welcome-visitors' | |
Failure/Error: @body.should match(/<div class='page' .*?id='welcome-visitors'>/) | |
expected "" to match /<div class='page' .*?id='welcome-visitors'>/ | |
Shared Example Group: "Welcome as HTML" called from ./spec/server_spec.rb:37 | |
# ./spec/server_spec.rb:20:in `block (2 levels) in <top (required)>' | |
30) GET / behaves like Welcome as HTML has the latest commit in the head | |
Failure/Error: @body.should match(version) | |
expected "" to match "ce41081" | |
Shared Example Group: "Welcome as HTML" called from ./spec/server_spec.rb:37 | |
# ./spec/server_spec.rb:25:in `block (3 levels) in <top (required)>' | |
# ./spec/server_spec.rb:24:in `each' | |
# ./spec/server_spec.rb:24:in `block (2 levels) in <top (required)>' | |
31) GET /recent-changes.json the JSON has the heading 'Within a Minute' | |
Failure/Error: @json['story'].first['text'].should == "<h3>Within a Minute</h3>" | |
expected: "<h3>Within a Minute</h3>" | |
got: "Here we list neighborhood pages with those most recently changed listed first. See also [[Local Changes]]." (using ==) | |
# ./spec/server_spec.rb:180:in `block (3 levels) in <top (required)>' | |
32) GET /recent-changes.json the JSON has a listing of the single recent change | |
Failure/Error: @json['story'][1]['slug'].should == "a-page" | |
expected: "a-page" | |
got: nil (using ==) | |
# ./spec/server_spec.rb:186:in `block (3 levels) in <top (required)>' | |
Finished in 1.13 seconds | |
86 examples, 32 failures, 1 pending | |
rake aborted! | |
ruby -S bundle exec rspec ./spec/favicon_spec.rb ./spec/integration_spec.rb ./spec/page_spec.rb ./spec/server_helpers_spec.rb ./spec/server_spec.rb ./spec/stores/couch_spec.rb failed | |
/Users/mike/.rvm/gems/ruby-1.9.2-p180@sfw/gems/rspec-core-2.4.0/lib/rspec/core/rake_task.rb:139:in `rescue in block (2 levels) in initialize' | |
/Users/mike/.rvm/gems/ruby-1.9.2-p180@sfw/gems/rspec-core-2.4.0/lib/rspec/core/rake_task.rb:135:in `block (2 levels) in initialize' | |
/Users/mike/.rvm/gems/ruby-1.9.2-p180@sfw/gems/rspec-core-2.4.0/lib/rspec/core/rake_task.rb:131:in `block in initialize' | |
/Users/mike/.rvm/gems/ruby-1.9.2-p180@sfw/bin/ruby_noexec_wrapper:14:in `eval' | |
/Users/mike/.rvm/gems/ruby-1.9.2-p180@sfw/bin/ruby_noexec_wrapper:14:in `<main>' | |
Tasks: TOP => spec | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment